Package org.nuiton.jaxx.compiler.java
Enum JavaMethod.MethodOrder
- java.lang.Object
-
- java.lang.Enum<JavaMethod.MethodOrder>
-
- org.nuiton.jaxx.compiler.java.JavaMethod.MethodOrder
-
- All Implemented Interfaces:
Serializable,Comparable<JavaMethod.MethodOrder>
- Enclosing class:
- JavaMethod
public static enum JavaMethod.MethodOrder extends Enum<JavaMethod.MethodOrder>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description constructorscreateMethodeventsinternalMethodJAXXContextJAXXObjectJAXXValidationotherPublicpackageLocalprivatesprotectedGettersprotectedspublicGetterspublicSettersstatics
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(int mod)booleanaccept(int mod, JavaMethod method)booleanaccept(JavaMethod method)StringgetHeader()static JavaMethod.MethodOrdervalueOf(String name)Returns the enum constant of this type with the specified name.static JavaMethod.MethodOrdervalueOf(JavaMethod method, int scope)static JavaMethod.MethodOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
statics
public static final JavaMethod.MethodOrder statics
-
constructors
public static final JavaMethod.MethodOrder constructors
-
JAXXObject
public static final JavaMethod.MethodOrder JAXXObject
-
JAXXContext
public static final JavaMethod.MethodOrder JAXXContext
-
JAXXValidation
public static final JavaMethod.MethodOrder JAXXValidation
-
events
public static final JavaMethod.MethodOrder events
-
publicGetters
public static final JavaMethod.MethodOrder publicGetters
-
publicSetters
public static final JavaMethod.MethodOrder publicSetters
-
otherPublic
public static final JavaMethod.MethodOrder otherPublic
-
protectedGetters
public static final JavaMethod.MethodOrder protectedGetters
-
createMethod
public static final JavaMethod.MethodOrder createMethod
-
internalMethod
public static final JavaMethod.MethodOrder internalMethod
-
protecteds
public static final JavaMethod.MethodOrder protecteds
-
packageLocal
public static final JavaMethod.MethodOrder packageLocal
-
privates
public static final JavaMethod.MethodOrder privates
-
-
Method Detail
-
values
public static JavaMethod.MethodOrder[] 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 (JavaMethod.MethodOrder c : JavaMethod.MethodOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JavaMethod.MethodOrder valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
public static JavaMethod.MethodOrder valueOf(JavaMethod method, int scope)
-
getHeader
public String getHeader()
-
accept
public boolean accept(JavaMethod method)
-
accept
public boolean accept(int mod)
-
accept
public boolean accept(int mod, JavaMethod method)
-
-