Package net.officefloor.plugin.variable
Class VariableAnnotation
- java.lang.Object
-
- net.officefloor.plugin.variable.VariableAnnotation
-
public class VariableAnnotation extends java.lang.ObjectAnnotation 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.StringextractPossibleVariableName(ManagedFunctionObjectType<?> objectType)Extracts the possible variable name.java.lang.StringgetVariableName()Obtains the name of theVar.java.lang.StringgetVariableType()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
nullif not a variable.
-
getVariableName
public java.lang.String getVariableName()
Obtains the name of theVar.- Returns:
- Name of the
Var.
-
-