public class JavaAsmModifierList extends Object implements IModifierList
| Constructor and Description |
|---|
JavaAsmModifierList(IJavaAnnotatedElement owner,
AsmClassAnnotationInfo[] annotations,
int modifiers) |
| Modifier and Type | Method and 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() |
public JavaAsmModifierList(IJavaAnnotatedElement owner, AsmClassAnnotationInfo[] annotations, int modifiers)
public boolean hasModifier(int modifierType)
IModifierListhasModifier in interface IModifierListmodifierType - one of the constants of java.lang.reflect.Modifierpublic int getModifiers()
getModifiers in interface IModifierListpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent in interface IModifierListpublic IAnnotationInfo[] getAnnotations()
getAnnotations in interface IModifierListpublic IAnnotationInfo getAnnotation(Class annotationClass)
getAnnotation in interface IModifierListpublic void setModifiers(int modifiers)
Copyright © 2019. All rights reserved.