Package org.codenarc.rule.convention
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 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.MetaClass
getName()
getProperty
(String property) invokeMethod
(String method, Object arguments) next()
previous()
void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(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:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getName
-
next
-
previous
-
$INIT
-