public abstract class SyntheticClass extends java.lang.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(java.lang.Object obj) |
java.util.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() |
java.io.Reader |
getSource() |
java.lang.String |
getSourceFileName() |
int |
hashCode() |
boolean |
isAbstract() |
boolean |
isArrayClass() |
boolean |
isInterface()
Is this class a Java interface?
|
boolean |
isSynthetic() |
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 int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic IClassLoader getClassLoader()
getClassLoader in interface IClasspublic boolean isInterface()
IClassisInterface in interface IClasspublic boolean isAbstract()
isAbstract in interface IClasspublic boolean isSynthetic()
isSynthetic in interface IClasspublic TypeReference getReference()
getReference in interface IClasspublic java.lang.String getSourceFileName()
getSourceFileName in interface IClasspublic java.io.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 java.util.Collection<Annotation> getAnnotations()
IClassgetAnnotations in interface IClass