public enum VariableUtil extends Enum<VariableUtil>
Enum Constant and Description |
---|
INSTANCE
The instance.
|
Modifier and Type | Method and Description |
---|---|
static String |
compileName(String prefix,
Deque<org.lunarray.model.descriptor.model.property.PropertyDescriptor<?,?>> prefixes)
Compiles the name.
|
static String |
compileVariable(String variable,
Deque<org.lunarray.model.descriptor.model.property.PropertyDescriptor<?,?>> prefixes)
Compiles a variable.
|
static String |
compileVariableName(String prefix,
Deque<org.lunarray.model.descriptor.model.property.PropertyDescriptor<?,?>> prefixes,
String variable)
Compiles the name.
|
static String |
compileVariableNameStrings(String prefix,
Deque<String> prefixes,
String variable)
Compiles the name.
|
static VariableUtil |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariableUtil[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableUtil INSTANCE
public static VariableUtil[] values()
for (VariableUtil c : VariableUtil.values()) System.out.println(c);
public static VariableUtil valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static String compileName(String prefix, Deque<org.lunarray.model.descriptor.model.property.PropertyDescriptor<?,?>> prefixes)
prefix
- The current prefix.prefixes
- The prefixes. May not be null.public static String compileVariable(String variable, Deque<org.lunarray.model.descriptor.model.property.PropertyDescriptor<?,?>> prefixes)
prefixes
- The prefixes. May not be null.variable
- The variable name.public static String compileVariableName(String prefix, Deque<org.lunarray.model.descriptor.model.property.PropertyDescriptor<?,?>> prefixes, String variable)
prefix
- The current prefix.prefixes
- The prefixes. May not be null.variable
- The variable name.Copyright © 2010–2014 Lunar Ray. All rights reserved.