public class ModifierWrapper
extends java.lang.Object
Field/Method/Constructor modifier for easier usage.| Constructor and Description |
|---|
ModifierWrapper(int modifier) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAbstract()
Get if the modifier contains the abstract modifier
Targets: Method |
boolean |
isFinal()
Get if the modifier contains the final modifier
Targets: Field, Method |
boolean |
isNative()
Get if the modifier contains the native modifier
Targets: Method |
boolean |
isPrivate()
Get if the modifier contains the private modifier
Targets: Field, Method, Constructor |
boolean |
isProtected()
Get if the modifier contains the protected modifier
Targets: Field, Method, Constructor |
boolean |
isPublic()
Get if the modifier contains the public modifier
Targets: Field, Method, Constructor |
boolean |
isStatic()
Get if the modifier contains the static modifier
Targets: Field, Method |
boolean |
isStrict()
Get if the modifier contains the strict modifier
Targets: Method |
boolean |
isSynchronized()
Get if the modifier contains the synchronized modifier
Targets: Method |
boolean |
isTransient()
Get if the modifier contains the transient modifier
Targets: Field |
boolean |
isVolatile()
Get if the modifier contains the volatile modifier
Targets: Field |
int |
raw()
Get the raw modifier int
|
public int raw()
public boolean isPublic()
Field, Method, Constructorpublic boolean isPrivate()
Field, Method, Constructorpublic boolean isProtected()
Field, Method, Constructorpublic boolean isStatic()
Field, Methodpublic boolean isFinal()
Field, Methodpublic boolean isSynchronized()
Methodpublic boolean isVolatile()
Fieldpublic boolean isTransient()
Fieldpublic boolean isNative()
Methodpublic boolean isAbstract()
Methodpublic boolean isStrict()
Method