| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final String | |
| private final String[] | |
| private final Annotations | |
| private final List | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | JavaClass(final String
Name of this class. className, final String Name of this class's superclass. superclassName, final int Access rights defined by bit flags accessFlags, final ConstantPool Array of constants constantPool, final String[] Implemented interfaces interfaceNames, final Annotations "RuntimeVisibleAnnotations" attribute defined on the Class, or null runtimeVisibleAnnotations, final List<Annotations> "RuntimeVisibleAnnotations" attribute defined on the fields or methods, or null runtimeVisibleFieldOrMethodAnnotations)Constructor gets all contents as arguments. |
| Modifier and Type | Method and Description |
|---|---|
| public final int | |
| public AnnotationEntry[] | Returns: An array of entries ornullReturn annotations entries from "RuntimeVisibleAnnotations" attribute on the class, fields or methods if there is any. |
| public AnnotationEntry[] | Returns: An array of entries ornullReturn annotations entries from "RuntimeVisibleAnnotations" attribute on the class, if there is any. |
| public String | |
| public String[] | |
| public String |
| accessFlags | back to summary |
|---|---|
| private final int accessFlags | |
| className | back to summary |
|---|---|
| private final String className | |
| interfaceNames | back to summary |
|---|---|
| private final String[] interfaceNames | |
| runtimeVisibleAnnotations | back to summary |
|---|---|
| private final Annotations runtimeVisibleAnnotations | |
| runtimeVisibleFieldOrMethodAnnotations | back to summary |
|---|---|
| private final List<Annotations> runtimeVisibleFieldOrMethodAnnotations | |
| superclassName | back to summary |
|---|---|
| private final String superclassName | |
| JavaClass | back to summary |
|---|---|
| pack-priv JavaClass(final String className, final String superclassName, final int accessFlags, final ConstantPool constantPool, final String[] interfaceNames, final Annotations runtimeVisibleAnnotations, final List<Annotations> runtimeVisibleFieldOrMethodAnnotations) Constructor gets all contents as arguments.
| |
| getAccessFlags | back to summary |
|---|---|
public final int getAccessFlags()
| |
| getAllAnnotationEntries | back to summary |
|---|---|
| public AnnotationEntry[] getAllAnnotationEntries() Return annotations entries from "RuntimeVisibleAnnotations" attribute on the class, fields or methods if there is any.
| |
| getAnnotationEntries | back to summary |
|---|---|
| public AnnotationEntry[] getAnnotationEntries() Return annotations entries from "RuntimeVisibleAnnotations" attribute on the class, if there is any.
| |
| getClassName | back to summary |
|---|---|
public String getClassName()
| |
| getInterfaceNames | back to summary |
|---|---|
public String[] getInterfaceNames()
| |
| getSuperclassName | back to summary |
|---|---|
| public String getSuperclassName() returns the super class name of this class. In the case that this class is java.lang.Object, it will return itself (java.lang.Object). This is probably incorrect but isn't fixed at this time to not break existing clients.
| |