Class JavaAsmModifierList
java.lang.Object
gw.internal.gosu.parser.java.classinfo.JavaAsmModifierList
- All Implemented Interfaces:
IModifierList
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AsmClassAnnotationInfo[]
private int
private IJavaAnnotatedElement
private static final AsmClassAnnotationInfo[]
-
Constructor Summary
ConstructorsConstructorDescriptionJavaAsmModifierList
(IJavaAnnotatedElement owner, AsmClassAnnotationInfo[] annotations, int modifiers) -
Method Summary
Modifier and TypeMethodDescriptiongetAnnotation
(Class annotationClass) int
boolean
hasModifier
(int modifierType) Returns true if this list has the modifier and false otherwise.boolean
isAnnotationPresent
(Class<? extends Annotation> annotationClass) void
setModifiers
(int modifiers) toString()
-
Field Details
-
NONE
-
_modifiers
private int _modifiers -
_owner
-
_annotations
-
-
Constructor Details
-
JavaAsmModifierList
public JavaAsmModifierList(IJavaAnnotatedElement owner, AsmClassAnnotationInfo[] annotations, int modifiers)
-
-
Method Details
-
hasModifier
public boolean hasModifier(int modifierType) Description copied from interface:IModifierList
Returns true if this list has the modifier and false otherwise.- Specified by:
hasModifier
in interfaceIModifierList
- Parameters:
modifierType
- one of the constants of java.lang.reflect.Modifier
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in interfaceIModifierList
-
isAnnotationPresent
- Specified by:
isAnnotationPresent
in interfaceIModifierList
-
getAnnotations
- Specified by:
getAnnotations
in interfaceIModifierList
-
getAnnotation
- Specified by:
getAnnotation
in interfaceIModifierList
-
setModifiers
public void setModifiers(int modifiers) -
toString
-