Interface Annotation
public interface Annotation
A Annotation.
- Author:
- Stefano Maestri
-
Method Summary
Modifier and TypeMethodDescriptionGet the Annotation ObjectGet the class Name of this annotationGet the member nameGet the list of parameters type for this annotationbooleanCheck if the annotation is on a fieldbooleanCheck if the annotation is on a method
-
Method Details
-
getClassName
String getClassName()Get the class Name of this annotation- Returns:
- the classname
-
getAnnotation
Object getAnnotation()Get the Annotation Object- Returns:
- the java.lang.Annotation instance
-
getParameterTypes
Get the list of parameters type for this annotation- Returns:
- list of parameters types
-
getMemberName
String getMemberName()Get the member name- Returns:
- member name
-
isOnMethod
boolean isOnMethod()Check if the annotation is on a method- Returns:
- true if the annotation is attached to a method
-
isOnField
boolean isOnField()Check if the annotation is on a field- Returns:
- true if the annotation is attached to a field
-