public static enum BytecodeGen.Visibility extends 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 |
and(BytecodeGen
|
static BytecodeGen |
forMember(Member
|
static BytecodeGen |
forType(Class
|
static BytecodeGen |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static BytecodeGen |
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(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null
public static BytecodeGen.Visibility forMember(Member member)
public static BytecodeGen.Visibility forType(Class <?> type)
public abstract BytecodeGen.Visibility and(BytecodeGen .Visibility that)