Package net.officefloor.plugin.variable
Class VariableAnnotation
- java.lang.Object
-
- net.officefloor.plugin.variable.VariableAnnotation
-
public class VariableAnnotation extends java.lang.Object
Annotation forVar
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description VariableAnnotation(java.lang.String name, java.lang.String type)
Instantiate.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
extractPossibleVariableName(ManagedFunctionObjectType<?> objectType)
Extracts the possible variable name.java.lang.String
getVariableName()
Obtains the name of theVar
.java.lang.String
getVariableType()
Obtains the type of theVar
.
-
-
-
Method Detail
-
extractPossibleVariableName
public static java.lang.String extractPossibleVariableName(ManagedFunctionObjectType<?> objectType)
Extracts the possible variable name.- Parameters:
objectType
-ManagedFunctionObjectType
.- Returns:
- Variable name or
null
if not a variable.
-
getVariableName
public java.lang.String getVariableName()
Obtains the name of theVar
.- Returns:
- Name of the
Var
.
-
-