Interface XElement
-
- All Known Subinterfaces:
XClass
,XConstructor
,XEnumConstant
,XExecutable
,XField
,XMember
,XMethod
public interface XElement
A Java Program element.- Since:
- 4.3
- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <A extends Annotation>
AgetAnnotation(Class<A> annotationClass)
Returns this element's annotation if present.String
getDocumentation()
Collect and concatenate the description text from the (multiple)@ProtoDoc.value
annotations of the given element.int
getModifiers()
The modifiers, as per java.lang.reflect.Modifier.String
getName()
-
-
-
Method Detail
-
getName
String getName()
-
getModifiers
int getModifiers()
The modifiers, as per java.lang.reflect.Modifier.
-
getAnnotation
<A extends Annotation> A getAnnotation(Class<A> annotationClass)
Returns this element's annotation if present.
-
getDocumentation
String getDocumentation()
Collect and concatenate the description text from the (multiple)@ProtoDoc.value
annotations of the given element.
-
-