public static class SClassReader.ClassInfo extends SClassReader.AnnotatedEntity
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
classname
The class name.
|
protected java.util.List<SClassReader.FieldInfo> |
fieldinfos
Field infos, if available.
|
protected java.util.List<java.lang.String> |
interfacenames
Class interfaces.
|
protected java.util.Date |
lastmodified
Last modified date of the class file if available.
|
protected java.util.List<SClassReader.MethodInfo> |
methodinfos
Method infos, if available.
|
protected java.lang.String |
superclassname
The super class name.
|
accessflags, annotations
Modifier | Constructor and Description |
---|---|
protected |
ClassInfo()
Create a new classinfo.
|
|
ClassInfo(java.lang.String classname,
java.util.Collection<SClassReader.AnnotationInfo> annotations)
Create a new classinfo.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Get the classname.
|
java.util.List<SClassReader.FieldInfo> |
getFieldInfos()
Get the field infos.
|
java.util.List<java.lang.String> |
getInterfaceNames()
Get the interface names.
|
java.util.Date |
getLastModified()
Gets the last modified date if it was supplied.
|
java.util.List<SClassReader.MethodInfo> |
getMethodInfos()
Get the method infos.
|
java.lang.String |
getSuperClassName()
Get the superclass name.
|
boolean |
isAbstract()
Tests if class is abstract.
|
boolean |
isAnnotation()
Tests if class is an annotation.
|
boolean |
isEnum()
Tests if class is an enum.
|
boolean |
isInterface()
Tests if class is an interface.
|
protected void |
setClassName(java.lang.String classname)
Set the class name.
|
protected void |
setFieldInfos(java.util.List<SClassReader.FieldInfo> fieldinfos)
Set the field infos.
|
protected void |
setInterfaceNames(java.util.List<java.lang.String> interfacenames)
Set the interface names.
|
void |
setLastModified(java.util.Date lastmodified)
Sets the last modified date.
|
protected void |
setMethodInfos(java.util.List<SClassReader.MethodInfo> methodinfos)
Set the method infos.
|
protected void |
setSuperClassName(java.lang.String superclassname)
Set the superclass name.
|
java.lang.String |
toString()
Get the string representation.
|
getAccessFlags, getAnnotation, getAnnotations, hasAnnotation, isFinal, isPublic, isSynthetic, setAccessFlags, setAnnotations
protected java.lang.String classname
protected java.lang.String superclassname
protected java.util.List<java.lang.String> interfacenames
protected java.util.List<SClassReader.FieldInfo> fieldinfos
protected java.util.List<SClassReader.MethodInfo> methodinfos
protected java.util.Date lastmodified
protected ClassInfo()
public ClassInfo(java.lang.String classname, java.util.Collection<SClassReader.AnnotationInfo> annotations)
public java.lang.String getClassName()
public java.lang.String getSuperClassName()
public java.util.List<java.lang.String> getInterfaceNames()
public java.util.List<SClassReader.FieldInfo> getFieldInfos()
public java.util.List<SClassReader.MethodInfo> getMethodInfos()
public boolean isInterface()
public boolean isAnnotation()
public boolean isEnum()
public boolean isAbstract()
protected void setClassName(java.lang.String classname)
classname
- the class name to setprotected void setSuperClassName(java.lang.String superclassname)
classname
- the superclass name to setprotected void setInterfaceNames(java.util.List<java.lang.String> interfacenames)
interfacenames
- the interface names to setprotected void setFieldInfos(java.util.List<SClassReader.FieldInfo> fieldinfos)
fieldinfos
- the field infos to setprotected void setMethodInfos(java.util.List<SClassReader.MethodInfo> methodinfos)
methodinfos
- the method infos to setpublic java.util.Date getLastModified()
public void setLastModified(java.util.Date lastmodified)
public java.lang.String toString()
toString
in class java.lang.Object