Class JavaAsmModifierList
- java.lang.Object
-
- gw.internal.gosu.parser.java.classinfo.JavaAsmModifierList
-
- All Implemented Interfaces:
IModifierList
public class JavaAsmModifierList extends Object implements IModifierList
-
-
Constructor Summary
Constructors Constructor Description JavaAsmModifierList(IJavaAnnotatedElement owner, AsmClassAnnotationInfo[] annotations, int modifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAnnotationInfo
getAnnotation(Class annotationClass)
IAnnotationInfo[]
getAnnotations()
int
getModifiers()
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)
String
toString()
-
-
-
Constructor Detail
-
JavaAsmModifierList
public JavaAsmModifierList(IJavaAnnotatedElement owner, AsmClassAnnotationInfo[] annotations, int modifiers)
-
-
Method Detail
-
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
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
- Specified by:
isAnnotationPresent
in interfaceIModifierList
-
getAnnotations
public IAnnotationInfo[] getAnnotations()
- Specified by:
getAnnotations
in interfaceIModifierList
-
getAnnotation
public IAnnotationInfo getAnnotation(Class annotationClass)
- Specified by:
getAnnotation
in interfaceIModifierList
-
setModifiers
public void setModifiers(int modifiers)
-
-