|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.classLoader.SyntheticClass
com.ibm.wala.ipa.summaries.BypassSyntheticClass
public class BypassSyntheticClass
A synthetic implementation of a class
| Constructor Summary | |
|---|---|
BypassSyntheticClass(IClass realType,
IClassLoader loader,
IClassHierarchy cha)
|
|
| Method Summary | |
|---|---|
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<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. |
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<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.InputStream |
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()
|
| Methods inherited from class com.ibm.wala.classLoader.SyntheticClass |
|---|
getClassHierarchy, getName, getReference, isAbstract, isArrayClass, isInterface |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BypassSyntheticClass(IClass realType,
IClassLoader loader,
IClassHierarchy cha)
throws java.lang.NullPointerException,
java.lang.NullPointerException
java.lang.NullPointerException| Method Detail |
|---|
public static TypeName getName(TypeReference T)
T - a type reference
java.lang.IllegalArgumentException - if T is nullpublic IClassLoader getClassLoader()
SyntheticClass
getClassLoader in interface IClassgetClassLoader in class SyntheticClassIClass.getClassLoader()public IClass getSuperclass()
public java.util.Collection<IClass> getAllImplementedInterfaces()
public IMethod getMethod(Selector selector)
IClass
selector - a method signature
public IField getField(Atom name)
IClass
public java.lang.String getSourceFileName()
getSourceFileName in interface IClassgetSourceFileName in class SyntheticClasspublic IMethod getClassInitializer()
public java.util.Collection<IMethod> getDeclaredMethods()
public java.util.Collection<IField> getDeclaredInstanceFields()
IClass
public 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 SyntheticClass
public int getModifiers()
throws UnimplementedError
IClass
UnimplementedErrorpublic boolean isReferenceType()
IClass
public java.util.Collection<IClass> getDirectInterfaces()
throws UnimplementedError
UnimplementedErrorpublic java.util.Collection<IField> getAllInstanceFields()
IClass
public java.util.Collection<IField> getAllStaticFields()
IClass
public java.util.Collection<IMethod> getAllMethods()
IClass
public java.util.Collection<IField> getAllFields()
IClass
public boolean isPublic()
public boolean isPrivate()
public java.io.InputStream getSource()
getSource in interface IClassgetSource in class SyntheticClass
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||