Class VariableAnnotation


  • public class VariableAnnotation
    extends java.lang.Object
    Annotation for Var.
    Author:
    Daniel Sagenschneider
    • Constructor Detail

      • VariableAnnotation

        public VariableAnnotation​(java.lang.String name,
                                  java.lang.String type)
        Instantiate.
        Parameters:
        name - Name for the Var.
        type - Type for the Var.
    • 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 the Var.
        Returns:
        Name of the Var.
      • getVariableType

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