Interface Annotation
-
public interface AnnotationA Annotation.- Author:
- Stefano Maestri
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetAnnotation()Get the Annotation ObjectStringgetClassName()Get the class Name of this annotationStringgetMemberName()Get the member nameList<String>getParameterTypes()Get the list of parameters type for this annotationbooleanisOnField()Check if the annotation is on a fieldbooleanisOnMethod()Check if the annotation is on a method
-
-
-
Method Detail
-
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
List<String> 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
-
-