- All Known Subinterfaces:
OVLAbstractInvokableDefinition
,OVLAccessoryArrayDefinition
,OVLAccessoryDefinition
,OVLConstructorDefinition
,OVLFieldDefinition
,OVLMethodDefinition
public interface OVLAbstractMemberDefinition
This class represents the definition of a member
of a class or item extension.
- Since:
- Omix 1.3.11
- Author:
- Dr. Peter Droste, Omix Visualization
-
Method Summary
Modifier and Type Method Description <T extends Annotation>
TgetAnnotation(Class<T> cls)
This method returns the annotation of this member identified by its class.Annotation[]
getAnnotations()
This method returns an array of all available annotations of this member.String
getName()
The name of the member in OVL source code.boolean
isAnnotationPresent(Class<? extends Annotation> a)
This method tests if the member is defined with a certain Java annotation.
-
Method Details
-
isAnnotationPresent
This method tests if the member is defined with a certain Java annotation.- Parameters:
a
- the Java annotation- Returns:
- true if available
-
getAnnotation
This method returns the annotation of this member identified by its class.- Type Parameters:
T
- the type of the annotation- Parameters:
cls
- the class of the annotation- Returns:
- the annotation if available
-
getAnnotations
This method returns an array of all available annotations of this member.- Returns:
- list of annotations
-
getName
The name of the member in OVL source code.- Returns:
- name
-