Modifier and Type | Method and Description |
---|---|
ClassName |
CPClassInfo.getClassName() |
ClassName |
ClassElementValue.getClassName()
Returns the value of this component, as a class constant pool entry.
|
ClassName |
EnclosingMethod.getClassName() |
static ClassName |
ClassName.getClassName(String classType)
Returns the ClassName object referenced by a class
type string (field descriptor), as defined in the
JVM Specification, sections 4.3.2 and 4.2.
|
ClassName |
ClassFile.getModuleMainClass()
Returns the content of the
ModuleMainClass attribute. |
ClassName |
InnerClass.getName()
Returns the name of this class, including its package (if any).
|
ClassName |
ClassFile.getName()
Returns the name of this class.
|
ClassName |
InnerClass.getOuterClassName()
Returns the name of the enclosing outer class, including
its package (if any).
|
ClassName |
Module.ProvidesEntry.getService()
Service type.
|
ClassName |
ClassFile.getSuperClass()
Returns the name of this class's superclass.
|
ClassName |
Annotation.getType()
Returns the annotation type.
|
Modifier and Type | Method and Description |
---|---|
int |
ClassName.compare(ClassName o1,
ClassName o2)
Compares its two arguments for order.
|
int |
ClassName.compareTo(ClassName obj)
Compares this ClassName to another Object.
|
Annotation |
Field.getAnnotation(ClassName annotationClass)
Returns the annotation for a specified annotation type, or null if
no annotation of that type exists for this field.
|
Annotation |
ClassFile.getAnnotation(ClassName annotationClass)
Returns the annotation for a specified annotation type, or null if
no annotation of that type exists for this class.
|
boolean |
Field.isAnnotationPresent(ClassName annotationClass)
Returns true if an annotation of the specified type is defined for
this field.
|
boolean |
ClassFile.isAnnotationPresent(ClassName annotationClass)
Returns true if an annotation of the specified type is defined for
this class.
|