Class VariableAnnotation

java.lang.Object
net.officefloor.plugin.variable.VariableAnnotation

public class VariableAnnotation extends Object
Annotation for Var.
Author:
Daniel Sagenschneider
  • Constructor Details

    • VariableAnnotation

      public VariableAnnotation(String name, String type)
      Instantiate.
      Parameters:
      name - Name for the Var.
      type - Type for the Var.
  • Method Details

    • extractPossibleVariableName

      public static String extractPossibleVariableName(ManagedFunctionObjectType<?> objectType)
      Extracts the possible variable name.
      Parameters:
      objectType - ManagedFunctionObjectType.
      Returns:
      Variable name or null if not a variable.
    • getVariableName

      public String getVariableName()
      Obtains the name of the Var.
      Returns:
      Name of the Var.
    • getVariableType

      public String getVariableType()
      Obtains the type of the Var.
      Returns:
      Type of the Var.