public class BypassSyntheticClass extends SyntheticClass
| Constructor and Description |
|---|
BypassSyntheticClass(IClass realType,
IClassLoader loader,
IClassHierarchy cha) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object arg0) |
Collection<IField> |
getAllFields()
Compute the instance and static fields declared by this class or any of its superclasses.
|
Collection<IClass> |
getAllImplementedInterfaces() |
Collection<IField> |
getAllInstanceFields()
Compute the instance fields declared by this class or any of its superclasses.
|
Collection<IMethod> |
getAllMethods()
Compute the methods declared by this class or any of its superclasses.
|
Collection<IField> |
getAllStaticFields()
Compute the static fields declared by this class or any of its superclasses.
|
Collection<Annotation> |
getAnnotations()
get annotations, if any
|
IMethod |
getClassInitializer() |
IClassLoader |
getClassLoader()
By default, a synthetic class is "loaded" by the primordial loader.
|
Collection<IField> |
getDeclaredInstanceFields()
Compute the instance fields declared by this class.
|
Collection<IMethod> |
getDeclaredMethods() |
Collection<IField> |
getDeclaredStaticFields() |
Collection<IClass> |
getDirectInterfaces() |
IField |
getField(Atom name)
Finds a field.
|
IMethod |
getMethod(Selector selector)
Finds method matching signature.
|
int |
getModifiers()
Return the integer that encodes the class's modifiers, as defined by the JVM specification
|
static TypeName |
getName(TypeReference T) |
IClass |
getRealType() |
Reader |
getSource() |
String |
getSourceFileName() |
IClass |
getSuperclass() |
int |
hashCode() |
boolean |
isPrivate() |
boolean |
isPublic() |
boolean |
isReferenceType()
Does 'this' refer to a reference type? If not, then it refers to a primitive type.
|
boolean |
isSyntheticImplentor() |
String |
toString() |
getClassHierarchy, getField, getName, getReference, isAbstract, isArrayClass, isInterfacepublic BypassSyntheticClass(IClass realType, IClassLoader loader, IClassHierarchy cha) throws NullPointerException, NullPointerException
NullPointerExceptionpublic static TypeName getName(TypeReference T)
T - a type referenceIllegalArgumentException - if T is nullpublic IClassLoader getClassLoader()
SyntheticClassgetClassLoader in interface IClassgetClassLoader in class SyntheticClassIClass.getClassLoader()public IClass getSuperclass()
public Collection<IClass> getAllImplementedInterfaces()
public IMethod getMethod(Selector selector)
IClassselector - a method signaturepublic String getSourceFileName()
getSourceFileName in interface IClassgetSourceFileName in class SyntheticClasspublic IMethod getClassInitializer()
public Collection<IMethod> getDeclaredMethods()
public Collection<IField> getDeclaredInstanceFields()
IClasspublic Collection<IField> getDeclaredStaticFields()
public boolean isSyntheticImplentor()
public IClass getRealType()
public boolean equals(Object arg0)
equals in class SyntheticClasspublic int hashCode()
hashCode in class SyntheticClasspublic int getModifiers()
throws com.ibm.wala.util.debug.UnimplementedError
IClasscom.ibm.wala.util.debug.UnimplementedErrorpublic boolean isReferenceType()
IClasspublic Collection<IClass> getDirectInterfaces() throws com.ibm.wala.util.debug.UnimplementedError
com.ibm.wala.util.debug.UnimplementedErrorpublic Collection<IField> getAllInstanceFields()
IClasspublic Collection<IField> getAllStaticFields()
IClasspublic Collection<IMethod> getAllMethods()
IClasspublic Collection<IField> getAllFields()
IClasspublic boolean isPublic()
public boolean isPrivate()
public Reader getSource()
getSource in interface IClassgetSource in class SyntheticClasspublic Collection<Annotation> getAnnotations()
IClassgetAnnotations in interface IClassgetAnnotations in class SyntheticClassCopyright © 2015. All rights reserved.