public final class MemberFlags extends Object
| Constructor and Description |
|---|
MemberFlags(boolean isStatic,
boolean isFinal,
Protection protection) |
MemberFlags(Keyword[] keywords) |
| Modifier and Type | Method and Description |
|---|---|
static MemberFlags |
fromKeywords(Keyword... keywords) |
static MemberFlags |
fromReflection(Constructor<?> constructor) |
static MemberFlags |
fromReflection(Field field) |
static MemberFlags |
fromReflection(Method method) |
Protection |
getProtection() |
boolean |
isFinal() |
boolean |
isStatic() |
public MemberFlags(Keyword[] keywords)
public MemberFlags(boolean isStatic,
boolean isFinal,
Protection protection)
public Protection getProtection()
public boolean isStatic()
public static MemberFlags fromKeywords(Keyword... keywords)
public static MemberFlags fromReflection(Method method)
public static MemberFlags fromReflection(Constructor<?> constructor)
public static MemberFlags fromReflection(Field field)
public boolean isFinal()
Copyright © 2014. All Rights Reserved.