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, waitgetAllFields, getAllImplementedInterfaces, getAllInstanceFields, getAllMethods, getAllStaticFields, getClassInitializer, getDeclaredInstanceFields, getDeclaredMethods, getDeclaredStaticFields, getDirectInterfaces, getField, getMethod, getModifiers, getSuperclass, isPrivate, isPublic, isReferenceTypepublic SyntheticClass(TypeReference T, IClassHierarchy cha)
T - type reference describing this classpublic IClassLoader getClassLoader()
getClassLoader in interface IClassIClass.getClassLoader()public boolean isInterface()
IClassisInterface in interface IClasspublic boolean isAbstract()
isAbstract in interface IClasspublic TypeReference getReference()
getReference in interface IClasspublic String getSourceFileName()
getSourceFileName in interface IClasspublic Reader getSource()
public boolean isArrayClass()
isArrayClass in interface IClasspublic IClassHierarchy getClassHierarchy()
getClassHierarchy in interface IClassHierarchyDwellerpublic TypeName getName()
public IField getField(Atom name, TypeName typeName)
public Collection<Annotation> getAnnotations()
IClassgetAnnotations in interface IClassCopyright © 2015. All rights reserved.