public interface JvmClass extends JvmTypeParametersOwner, JvmTypeDeclaration
Modifier and Type | Method and Description |
---|---|
default <T> T |
accept(JvmElementVisitor<T> visitor) |
default JvmMethod [] |
findMethodsByName(java.lang.String methodName) |
JvmClassKind |
getClassKind() |
JvmField [] |
getFields() |
JvmClass [] |
getInnerClasses() |
JvmReferenceType [] |
getInterfaceTypes() |
JvmMethod [] |
getMethods() |
java.lang.String |
getName() |
java.lang.String |
getQualifiedName() |
JvmReferenceType |
getSuperClassType() |
getTypeParameters
getContainingClass
hasModifier
getAnnotation, getAnnotations, hasAnnotation
getSourceElement
java.lang.String getName()
getName
in interface JvmMember
getName
in interface JvmNamedElement
null
if the class is anonymousClass.getSimpleName()
java.lang.String getQualifiedName()
null
if the class is anonymous or localClass.getCanonicalName()
JvmClassKind getClassKind()
JvmReferenceType getSuperClassType()
null
if this class is an interface or represents Object
Class.getSuperclass()
,
Class.getGenericSuperclass()
,
Class.getAnnotatedSuperclass()
JvmReferenceType [] getInterfaceTypes()
Class.getInterfaces()
,
Class.getAnnotatedInterfaces()
,
Class.getGenericInterfaces()
JvmMethod [] getMethods()
Class.getDeclaredMethods()
,
Class.getDeclaredConstructors()
default JvmMethod [] findMethodsByName(java.lang.String methodName)
Class.getDeclaredMethod(java.lang.String, java.lang.Class<?>...)
JvmField [] getFields()
Class.getDeclaredFields()
JvmClass [] getInnerClasses()
Class.getDeclaredClasses()
default <T> T accept(JvmElementVisitor<T> visitor)
accept
in interface JvmElement
accept
in interface JvmMember