public class ClassInformationAnnotation extends Object implements TypeAnnotation
Modifier and Type | Field and Description |
---|---|
static String |
INTERNAL_METADATA_PACKAGE
Classes from this packages contain information that is handled internally by the runtime and must not be exposed in the
extension model.
|
static String |
NAME |
Constructor and Description |
---|
ClassInformationAnnotation(Class<?> clazz) |
ClassInformationAnnotation(Class<?> clazz,
List<Type> genericTypes) |
ClassInformationAnnotation(String classname,
boolean hasDefaultConstructor,
boolean isInterface,
boolean isInstantiable,
boolean isAbstract,
boolean isFinal,
List<String> implementedInterfaces,
String parent,
List<String> genericTypes,
boolean isMap) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getClassname() |
List<String> |
getGenericTypes() |
List<String> |
getImplementedInterfaces() |
String |
getName()
A name of the annotation
|
Optional<String> |
getParent() |
boolean |
hasDefaultConstructor() |
int |
hashCode() |
boolean |
isAbstract() |
boolean |
isFinal() |
boolean |
isInstantiable() |
boolean |
isInterface() |
boolean |
isMap() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isPublic
public static final String INTERNAL_METADATA_PACKAGE
public static final String NAME
public ClassInformationAnnotation(String classname, boolean hasDefaultConstructor, boolean isInterface, boolean isInstantiable, boolean isAbstract, boolean isFinal, List<String> implementedInterfaces, String parent, List<String> genericTypes, boolean isMap)
public ClassInformationAnnotation(Class<?> clazz)
public String getName()
TypeAnnotation
getName
in interface TypeAnnotation
public String getClassname()
public boolean isInstantiable()
public boolean isInterface()
public boolean isFinal()
public boolean isAbstract()
public boolean isMap()
public boolean hasDefaultConstructor()
Copyright © 2018. All rights reserved.