Serializable
, Comparable<BytecodeGen.Visibility>
public static enum BytecodeGen.Visibility extends Enum<BytecodeGen.Visibility>
Enum Constant | 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 | Description |
---|---|---|
abstract BytecodeGen.Visibility |
and(BytecodeGen.Visibility that) |
|
static BytecodeGen.Visibility |
forMember(Member member) |
|
static BytecodeGen.Visibility |
forType(Class<?> type) |
|
static BytecodeGen.Visibility |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static BytecodeGen.Visibility forMember(Member member)
public static BytecodeGen.Visibility forType(Class<?> type)
public abstract BytecodeGen.Visibility and(BytecodeGen.Visibility that)
Copyright © 2006–2018 Google, Inc.. All rights reserved.