Package spoon.support.reflect
Class CtModifierHandler
- java.lang.Object
-
- spoon.support.reflect.CtModifierHandler
-
- All Implemented Interfaces:
Serializable
public class CtModifierHandler extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CtModifierHandler(CtElement element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CtModifierHandler
addModifier(ModifierKind modifier)
boolean
equals(Object obj)
Set<CtExtendedModifier>
getExtendedModifiers()
Factory
getFactory()
Set<ModifierKind>
getModifiers()
ModifierKind
getVisibility()
int
hashCode()
boolean
hasModifier(ModifierKind modifier)
boolean
isAbstract()
boolean
isFinal()
boolean
isNative()
boolean
isPrivate()
boolean
isProtected()
boolean
isPublic()
boolean
isStatic()
boolean
isStrictfp()
boolean
isSynchronized()
boolean
isTransient()
boolean
isVolatile()
CtModifierHandler
removeModifier(ModifierKind modifier)
CtModifierHandler
setExtendedModifiers(Set<CtExtendedModifier> extendedModifiers)
CtModifierHandler
setModifiers(Set<ModifierKind> modifiers)
CtModifierHandler
setVisibility(ModifierKind visibility)
-
-
-
Constructor Detail
-
CtModifierHandler
public CtModifierHandler(CtElement element)
-
-
Method Detail
-
getFactory
public Factory getFactory()
-
getExtendedModifiers
public Set<CtExtendedModifier> getExtendedModifiers()
-
setExtendedModifiers
public CtModifierHandler setExtendedModifiers(Set<CtExtendedModifier> extendedModifiers)
-
getModifiers
public Set<ModifierKind> getModifiers()
-
hasModifier
public boolean hasModifier(ModifierKind modifier)
-
setModifiers
public CtModifierHandler setModifiers(Set<ModifierKind> modifiers)
-
addModifier
public CtModifierHandler addModifier(ModifierKind modifier)
-
removeModifier
public CtModifierHandler removeModifier(ModifierKind modifier)
-
setVisibility
public CtModifierHandler setVisibility(ModifierKind visibility)
-
getVisibility
public ModifierKind 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()
-
-