Package spoon.support.reflect
Class CtModifierHandler
java.lang.Object
spoon.support.reflect.CtModifierHandler
- All Implemented Interfaces:
Serializable
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddModifier(ModifierKind modifier)
boolean
int
hashCode()
boolean
hasModifier(ModifierKind modifier)
boolean
boolean
isFinal()
boolean
isNative()
boolean
boolean
boolean
isPublic()
boolean
isStatic()
boolean
boolean
boolean
boolean
removeModifier(ModifierKind modifier)
setExtendedModifiers(Set<CtExtendedModifier> extendedModifiers)
setModifiers(Set<ModifierKind> modifiers)
setVisibility(ModifierKind visibility)
-
Constructor Details
-
CtModifierHandler
-
-
Method Details
-
getFactory
-
getExtendedModifiers
-
setExtendedModifiers
-
getModifiers
-
hasModifier
-
setModifiers
-
addModifier
-
removeModifier
-
setVisibility
-
getVisibility
-
isPublic
public boolean isPublic() -
isProtected
public boolean isProtected() -
isPrivate
public boolean isPrivate() -
isAbstract
public boolean isAbstract() -
isStatic
public boolean isStatic() -
isFinal
public boolean isFinal() -
isTransient
public boolean isTransient() -
isVolatile
public boolean isVolatile() -
isSynchronized
public boolean isSynchronized() -
isNative
public boolean isNative() -
isStrictfp
public boolean isStrictfp() -
hashCode
public int hashCode() -
equals
-