com.pnfsoftware.jeb.core.units.code.java.IJavaClass |
Java AST interface to represent a Java class or interface. Class elements contain other classes (inner classes), fields, and methods.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract List<? extends IJavaAnnotation> |
getAnnotations()
Get the annotations for this type.
| ||||||||||
abstract List<? extends IJavaClass> | getAnonymousClasses() | ||||||||||
abstract List<? extends IJavaField> |
getFields()
This convenience method is used to retrieve the list of fields.
| ||||||||||
abstract List<? extends IJavaType> |
getImplementedInterfaces()
Get the implemented or extended interface types.
| ||||||||||
abstract List<? extends IJavaClass> |
getInnerClasses()
This convenience method is used to retrieve the list of inner classes.
| ||||||||||
abstract List<? extends IJavaMethod> |
getMethods()
This convenience method is used to retrieve the list of methods.
| ||||||||||
abstract String |
getName()
Get the type name.
| ||||||||||
abstract IJavaType |
getSupertype()
Get the super type.
| ||||||||||
abstract IJavaType |
getType()
Get the class or interface type.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Get the annotations for this type.
This convenience method is used to retrieve the list of fields.
Get the implemented or extended interface types.
This convenience method is used to retrieve the list of inner classes.
This convenience method is used to retrieve the list of methods.
Get the type name. The name is a fully-qualified Java name, such as:
Lcom/foo/Bar;