public class BypassSyntheticClass extends SyntheticClass
| Constructor and Description |
|---|
BypassSyntheticClass(IClass realType,
IClassLoader loader,
IClassHierarchy cha) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object arg0) |
java.util.Collection<IField> |
getAllFields()
Compute the instance and static fields declared by this class or any of its superclasses.
|
java.util.Collection<IClass> |
getAllImplementedInterfaces() |
java.util.Collection<IField> |
getAllInstanceFields()
Compute the instance fields declared by this class or any of its superclasses.
|
java.util.Collection<? extends IMethod> |
getAllMethods()
Compute the methods declared by this class or any of its superclasses.
|
java.util.Collection<IField> |
getAllStaticFields()
Compute the static fields declared by this class or any of its superclasses.
|
java.util.Collection<Annotation> |
getAnnotations()
get annotations, if any
|
IMethod |
getClassInitializer() |
IClassLoader |
getClassLoader()
By default, a synthetic class is "loaded" by the primordial loader.
|
java.util.Collection<IField> |
getDeclaredInstanceFields()
Compute the instance fields declared by this class.
|
java.util.Collection<? extends IMethod> |
getDeclaredMethods() |
java.util.Collection<IField> |
getDeclaredStaticFields() |
java.util.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() |
java.io.Reader |
getSource() |
java.lang.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() |
java.lang.String |
toString() |
getClassHierarchy, getField, getName, getReference, isAbstract, isArrayClass, isInterface, isSyntheticpublic BypassSyntheticClass(IClass realType, IClassLoader loader, IClassHierarchy cha) throws java.lang.NullPointerException, java.lang.NullPointerException
java.lang.NullPointerExceptionpublic static TypeName getName(TypeReference T)
T - a type referencejava.lang.IllegalArgumentException - if T is nullpublic IClassLoader getClassLoader()
SyntheticClassgetClassLoader in interface IClassgetClassLoader in class SyntheticClasspublic IClass getSuperclass()
public java.util.Collection<IClass> getAllImplementedInterfaces()
public IMethod getMethod(Selector selector)
IClassselector - a method signaturepublic java.lang.String getSourceFileName()
getSourceFileName in interface IClassgetSourceFileName in class SyntheticClasspublic IMethod getClassInitializer()
public java.util.Collection<? extends IMethod> getDeclaredMethods()
public java.util.Collection<IField> getDeclaredInstanceFields()
IClasspublic java.util.Collection<IField> getDeclaredStaticFields()
public boolean isSyntheticImplentor()
public java.lang.String toString()
toString in class java.lang.Objectpublic IClass getRealType()
public boolean equals(java.lang.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 java.util.Collection<IClass> getDirectInterfaces() throws com.ibm.wala.util.debug.UnimplementedError
com.ibm.wala.util.debug.UnimplementedErrorpublic java.util.Collection<IField> getAllInstanceFields()
IClasspublic java.util.Collection<IField> getAllStaticFields()
IClasspublic java.util.Collection<? extends IMethod> getAllMethods()
IClasspublic java.util.Collection<IField> getAllFields()
IClasspublic boolean isPublic()
public boolean isPrivate()
public java.io.Reader getSource()
getSource in interface IClassgetSource in class SyntheticClasspublic java.util.Collection<Annotation> getAnnotations()
IClassgetAnnotations in interface IClassgetAnnotations in class SyntheticClass