public static enum NullPointerTester.Visibility extends java.lang.Enum<NullPointerTester.Visibility>
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.Iterable<java.lang.reflect.Method> |
getInstanceMethods(java.lang.Class<?> cls) |
(package private) java.lang.Iterable<java.lang.reflect.Method> |
getStaticMethods(java.lang.Class<?> cls) |
private ImmutableList<java.lang.reflect.Method> |
getVisibleMethods(java.lang.Class<?> cls) |
(package private) abstract boolean |
isVisible(int modifiers) |
(package private) boolean |
isVisible(java.lang.reflect.Member member)
Returns
true if member is visible under this
visibility. |
static NullPointerTester.Visibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NullPointerTester.Visibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullPointerTester.Visibility PACKAGE
public static final NullPointerTester.Visibility PROTECTED
public static final NullPointerTester.Visibility PUBLIC
public static NullPointerTester.Visibility[] values()
for (NullPointerTester.Visibility c : NullPointerTester.Visibility.values()) System.out.println(c);
public static NullPointerTester.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 nullabstract boolean isVisible(int modifiers)
final boolean isVisible(java.lang.reflect.Member member)
true
if member
is visible under this
visibility.final java.lang.Iterable<java.lang.reflect.Method> getStaticMethods(java.lang.Class<?> cls)
final java.lang.Iterable<java.lang.reflect.Method> getInstanceMethods(java.lang.Class<?> cls)
private ImmutableList<java.lang.reflect.Method> getVisibleMethods(java.lang.Class<?> cls)