Enum Proto.Protoclass.Kind
- java.lang.Object
-
- java.lang.Enum<Proto.Protoclass.Kind>
-
- org.immutables.value.processor.meta.Proto.Protoclass.Kind
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Proto.Protoclass.Kind>
- Enclosing class:
- Proto.Protoclass
public static enum Proto.Protoclass.Kind extends java.lang.Enum<Proto.Protoclass.Kind>
-
-
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateKind()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisConstructor()booleanisDefinedValue()booleanisEnclosing()booleanisEnclosingOnly()booleanisFactory()booleanisFactoryNotNested()booleanisIncluded()booleanisJavaBean()booleanisModifiable()booleanisNested()booleanisNestedFactoryOrConstructor()booleanisValue()static Proto.Protoclass.KindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Proto.Protoclass.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCLUDED_IN_PACKAGE
public static final Proto.Protoclass.Kind INCLUDED_IN_PACKAGE
-
INCLUDED_ON_TYPE
public static final Proto.Protoclass.Kind INCLUDED_ON_TYPE
-
INCLUDED_FACTORY_IN_PACKAGE
public static final Proto.Protoclass.Kind INCLUDED_FACTORY_IN_PACKAGE
-
INCLUDED_FACTORY_ON_TYPE
public static final Proto.Protoclass.Kind INCLUDED_FACTORY_ON_TYPE
-
INCLUDED_CONSTRUCTOR_IN_PACKAGE
public static final Proto.Protoclass.Kind INCLUDED_CONSTRUCTOR_IN_PACKAGE
-
INCLUDED_CONSTRUCTOR_ON_TYPE
public static final Proto.Protoclass.Kind INCLUDED_CONSTRUCTOR_ON_TYPE
-
INCLUDED_IN_TYPE
public static final Proto.Protoclass.Kind INCLUDED_IN_TYPE
-
DEFINED_FACTORY
public static final Proto.Protoclass.Kind DEFINED_FACTORY
-
DEFINED_NESTED_FACTORY
public static final Proto.Protoclass.Kind DEFINED_NESTED_FACTORY
-
DEFINED_CONSTRUCTOR
public static final Proto.Protoclass.Kind DEFINED_CONSTRUCTOR
-
DEFINED_NESTED_CONSTRUCTOR
public static final Proto.Protoclass.Kind DEFINED_NESTED_CONSTRUCTOR
-
DEFINED_TYPE
public static final Proto.Protoclass.Kind DEFINED_TYPE
-
DEFINED_JAVABEAN
public static final Proto.Protoclass.Kind DEFINED_JAVABEAN
-
DEFINED_TYPE_AND_COMPANION
public static final Proto.Protoclass.Kind DEFINED_TYPE_AND_COMPANION
-
DEFINED_COMPANION
public static final Proto.Protoclass.Kind DEFINED_COMPANION
-
DEFINED_AND_ENCLOSING_TYPE
public static final Proto.Protoclass.Kind DEFINED_AND_ENCLOSING_TYPE
-
DEFINED_ENCLOSING_TYPE
public static final Proto.Protoclass.Kind DEFINED_ENCLOSING_TYPE
-
DEFINED_NESTED_TYPE
public static final Proto.Protoclass.Kind DEFINED_NESTED_TYPE
-
-
Method Detail
-
values
public static Proto.Protoclass.Kind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Proto.Protoclass.Kind c : Proto.Protoclass.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Proto.Protoclass.Kind valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
isNested
public boolean isNested()
-
isNestedFactoryOrConstructor
public boolean isNestedFactoryOrConstructor()
-
isIncluded
public boolean isIncluded()
-
isEnclosing
public boolean isEnclosing()
-
isJavaBean
public boolean isJavaBean()
-
isValue
public boolean isValue()
-
isDefinedValue
public boolean isDefinedValue()
-
isModifiable
public boolean isModifiable()
-
isConstructor
public boolean isConstructor()
-
isFactoryNotNested
public boolean isFactoryNotNested()
-
isFactory
public boolean isFactory()
-
isEnclosingOnly
public boolean isEnclosingOnly()
-
-