public static enum ApexSignature.Visibility extends java.lang.Enum<ApexSignature.Visibility>
Modifier and Type | Method | Description |
---|---|---|
static ApexSignature.Visibility |
get(ASTMethod method) |
Finds out the visibility of a method node.
|
static ApexSignature.Visibility |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ApexSignature.Visibility[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApexSignature.Visibility PRIVATE
public static final ApexSignature.Visibility PUBLIC
public static final ApexSignature.Visibility PROTECTED
public static final ApexSignature.Visibility GLOBAL
public static ApexSignature.Visibility[] values()
for (ApexSignature.Visibility c : ApexSignature.Visibility.values()) System.out.println(c);
public static ApexSignature.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 ApexSignature.Visibility get(ASTMethod method)
method
- The method nodeCopyright © 2002–2018 PMD. All rights reserved.