public static enum BytecodeGen.Visibility extends java.lang.Enum<BytecodeGen.Visibility>
Enum Constant and Description |
---|
PUBLIC
Indicates that Guice-generated classes only need to call and override public members of the
target class.
|
SAME_PACKAGE
Indicates that Guice-generated classes need to call or override package-private members.
|
Modifier and Type | Method and Description |
---|---|
abstract BytecodeGen.Visibility |
and(BytecodeGen.Visibility that) |
static BytecodeGen.Visibility |
forMember(java.lang.reflect.Member member) |
static BytecodeGen.Visibility |
forType(java.lang.Class<?> type) |
static BytecodeGen.Visibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BytecodeGen.Visibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BytecodeGen.Visibility PUBLIC
public static final BytecodeGen.Visibility SAME_PACKAGE
public static BytecodeGen.Visibility[] values()
for (BytecodeGen.Visibility c : BytecodeGen.Visibility.values()) System.out.println(c);
public static BytecodeGen.Visibility valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static BytecodeGen.Visibility forMember(java.lang.reflect.Member member)
public static BytecodeGen.Visibility forType(java.lang.Class<?> type)
public abstract BytecodeGen.Visibility and(BytecodeGen.Visibility that)