Enum StaticMethodsBeforeInstanceMethodsAstVisitor.Visibility
java.lang.Object
java.lang.Enum<StaticMethodsBeforeInstanceMethodsAstVisitor.Visibility>
org.codenarc.rule.convention.StaticMethodsBeforeInstanceMethodsAstVisitor.Visibility
- All Implemented Interfaces:
groovy.lang.GroovyObject, Serializable, Comparable<StaticMethodsBeforeInstanceMethodsAstVisitor.Visibility>, java.lang.constant.Constable
- Enclosing class:
StaticMethodsBeforeInstanceMethodsAstVisitor
private static enum StaticMethodsBeforeInstanceMethodsAstVisitor.Visibility
extends Enum<StaticMethodsBeforeInstanceMethodsAstVisitor.Visibility>
implements groovy.lang.GroovyObject
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.MetaClassgetName()getProperty(String property) invokeMethod(String method, Object arguments) next()previous()voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value) Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PUBLIC
-
PROTECTED
-
PRIVATE
-
-
Field Details
-
MIN_VALUE
-
MAX_VALUE
-
-
Constructor Details
-
Visibility
private Visibility()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
-
getProperty
-
setProperty
-
getName
-
next
-
previous
-
$INIT
-