public abstract class SyntheticClass extends Object implements IClass
IClass
that exists nowhere in bytecode.Constructor and Description |
---|
SyntheticClass(TypeReference T,
IClassHierarchy cha) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Collection<Annotation> |
getAnnotations()
get annotations, if any
|
IClassHierarchy |
getClassHierarchy() |
IClassLoader |
getClassLoader()
By default, a synthetic class is "loaded" by the primordial loader.
|
IField |
getField(Atom name,
TypeName typeName)
we assume synthetic classes do not need to have multiple fields with the same name.
|
TypeName |
getName() |
TypeReference |
getReference() |
Reader |
getSource() |
String |
getSourceFileName() |
int |
hashCode() |
boolean |
isAbstract() |
boolean |
isArrayClass() |
boolean |
isInterface()
Is this class a Java interface?
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAllFields, getAllImplementedInterfaces, getAllInstanceFields, getAllMethods, getAllStaticFields, getClassInitializer, getDeclaredInstanceFields, getDeclaredMethods, getDeclaredStaticFields, getDirectInterfaces, getField, getMethod, getModifiers, getSuperclass, isPrivate, isPublic, isReferenceType
public SyntheticClass(TypeReference T, IClassHierarchy cha)
T
- type reference describing this classpublic IClassLoader getClassLoader()
getClassLoader
in interface IClass
IClass.getClassLoader()
public boolean isInterface()
IClass
isInterface
in interface IClass
public boolean isAbstract()
isAbstract
in interface IClass
public TypeReference getReference()
getReference
in interface IClass
public String getSourceFileName()
getSourceFileName
in interface IClass
public Reader getSource()
public boolean isArrayClass()
isArrayClass
in interface IClass
public IClassHierarchy getClassHierarchy()
getClassHierarchy
in interface IClassHierarchyDweller
public TypeName getName()
public IField getField(Atom name, TypeName typeName)
public Collection<Annotation> getAnnotations()
IClass
getAnnotations
in interface IClass