public interface XElement
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
getAnnotation(Class<A> annotationClass)
Returns this element's annotation if present.
|
<A extends Annotation> |
getAnnotationsByType(Class<A> annotationClass) |
int |
getModifiers()
The modifiers, as per java.lang.reflect.Modifier.
|
String |
getName() |
String |
getProtoDocs()
Collect and concatenate the description text from the (possibly multiple)
@ProtoDoc.value annotations
found on the element, in order of occurrence. |
default boolean |
isFinal() |
default boolean |
isPrivate() |
default boolean |
isPublic() |
default boolean |
isStatic() |
String getName()
int getModifiers()
default boolean isStatic()
default boolean isFinal()
default boolean isPublic()
default boolean isPrivate()
<A extends Annotation> A getAnnotation(Class<A> annotationClass)
<A extends Annotation> A[] getAnnotationsByType(Class<A> annotationClass)
String getProtoDocs()
@ProtoDoc.value
annotations
found on the element, in order of occurrence.null
if no doc or empty doc presentCopyright © 2019 JBoss, a division of Red Hat. All rights reserved.