public class Modifier extends Modifier
| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATION |
static int |
CLASS_MEMBER
The code indicating something is a class member
|
static int |
DEPRECATED |
static int |
ENUM
The
int value representing the enum modifier. |
static int |
HIDE
The
int value representing the hide modifier. |
static int |
INTERNAL
The
int value representing the internal modifier. |
static int |
OVERRIDE
The
int value representing the override modifier. |
| Constructor and Description |
|---|
Modifier() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getModifiersFrom(IAttributedFeatureInfo afi) |
static boolean |
isAnnotation(int mod) |
static boolean |
isClassMember(int mod)
Return true if the integer argument includes the
class member modifer, false otherwise.
|
static boolean |
isDeprecated(int mod) |
static boolean |
isEnum(int mod)
Return true if the integer argument includes the
enum modifer, false otherwise.
|
static boolean |
isHide(int mod)
Return true if the integer argument includes the
hide modifer, false otherwise.
|
static boolean |
isInternal(int mod)
Return true if the integer argument includes the
internal modifer, false otherwise.
|
static boolean |
isOverride(int mod)
Return true if the integer argument includes the
override modifer, false otherwise.
|
static int |
setAbstract(int mod,
boolean bValue) |
static int |
setClassMember(int mod,
boolean bValue) |
static int |
setDeprecated(int mod,
boolean bValue) |
static int |
setEnum(int mod,
boolean bValue) |
static int |
setFinal(int mod,
boolean bValue) |
static int |
setHide(int mod,
boolean bValue) |
static int |
setInternal(int mod,
boolean bValue) |
static int |
setOverride(int mod,
boolean bValue) |
static int |
setPrivate(int mod,
boolean bValue) |
static int |
setProtected(int mod,
boolean bValue) |
static int |
setPublic(int mod,
boolean bValue) |
static int |
setStatic(int mod,
boolean bValue) |
static int |
setTransient(int mod,
boolean bValue) |
static String |
toModifierString(int mod) |
classModifiers, constructorModifiers, fieldModifiers, interfaceModifiers, isAbstract, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isTransient, isVolatile, methodModifiers, parameterModifiers, toStringpublic static final int OVERRIDE
int value representing the override modifier.public static final int HIDE
int value representing the hide modifier.public static final int CLASS_MEMBER
public static final int INTERNAL
int value representing the internal modifier.public static final int ENUM
int value representing the enum modifier. This value should match
the Java version of the enum modifier (which isn't publically exposed). Note that the enum modifier
may mean different things in different contexts.public static final int DEPRECATED
public static final int ANNOTATION
public static int getModifiersFrom(IAttributedFeatureInfo afi)
public static boolean isHide(int mod)
mod - a set of modifersmod includes the
hide modifier; false otherwise.public static boolean isOverride(int mod)
mod - a set of modifersmod includes the
override modifier; false otherwise.public static boolean isClassMember(int mod)
mod - a set of modifersmod includes the
class member modifier; false otherwise.public static boolean isInternal(int mod)
mod - a set of modifersmod includes the
internal modifier; false otherwise.public static boolean isEnum(int mod)
mod - a set of modifersmod includes the
enum modifier; false otherwise.public static boolean isDeprecated(int mod)
public static boolean isAnnotation(int mod)
public static int setPublic(int mod,
boolean bValue)
public static int setPrivate(int mod,
boolean bValue)
public static int setProtected(int mod,
boolean bValue)
public static int setStatic(int mod,
boolean bValue)
public static int setAbstract(int mod,
boolean bValue)
public static int setFinal(int mod,
boolean bValue)
public static int setOverride(int mod,
boolean bValue)
public static int setHide(int mod,
boolean bValue)
public static int setClassMember(int mod,
boolean bValue)
public static int setTransient(int mod,
boolean bValue)
public static int setInternal(int mod,
boolean bValue)
public static int setEnum(int mod,
boolean bValue)
public static int setDeprecated(int mod,
boolean bValue)
public static String toModifierString(int mod)
Copyright © 2015. All rights reserved.