public class LambdaSummaryClass extends SyntheticClass
Constructor and Description |
---|
LambdaSummaryClass(TypeReference T,
IClassHierarchy cha,
SSAInvokeDynamicInstruction invoke) |
Modifier and Type | Method and Description |
---|---|
static LambdaSummaryClass |
findOrCreate(CGNode caller,
SSAInvokeDynamicInstruction inst) |
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.
|
IMethod |
getClassInitializer() |
Collection<IField> |
getDeclaredInstanceFields()
Compute the instance fields declared by this class.
|
Collection<IMethod> |
getDeclaredMethods() |
Collection<IField> |
getDeclaredStaticFields() |
Collection<? extends 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
|
IClass |
getSuperclass() |
boolean |
isPrivate() |
boolean |
isPublic() |
boolean |
isReferenceType()
Does 'this' refer to a reference type? If not, then it refers to a primitive type.
|
equals, getAnnotations, getClassHierarchy, getClassLoader, getField, getName, getReference, getSource, getSourceFileName, hashCode, isAbstract, isArrayClass, isInterface
public LambdaSummaryClass(TypeReference T, IClassHierarchy cha, SSAInvokeDynamicInstruction invoke)
public static LambdaSummaryClass findOrCreate(CGNode caller, SSAInvokeDynamicInstruction inst)
public boolean isPublic()
public boolean isPrivate()
public int getModifiers() throws UnsupportedOperationException
IClass
UnsupportedOperationException
public IClass getSuperclass()
public Collection<? extends IClass> getDirectInterfaces()
public Collection<IClass> getAllImplementedInterfaces()
public IMethod getMethod(Selector selector)
IClass
selector
- a method signaturepublic IMethod getClassInitializer()
public Collection<IMethod> getDeclaredMethods()
public Collection<IField> getAllInstanceFields()
IClass
public Collection<IField> getAllStaticFields()
IClass
public Collection<IField> getAllFields()
IClass
public Collection<IMethod> getAllMethods()
IClass
public Collection<IField> getDeclaredInstanceFields()
IClass
public Collection<IField> getDeclaredStaticFields()
public boolean isReferenceType()
IClass