Interface InstanceDef

All Superinterfaces:
ExpressionDef, VariableDef
All Known Implementing Classes:
ExpressionDef.NewInstance, VariableDef.This

public sealed interface InstanceDef extends VariableDef permits ExpressionDef.NewInstance, VariableDef.This
The instance definition.
Since:
1.2
Author:
Denis Stepanov
  • Method Details

    • field

      default VariableDef.Field field(String fieldName, TypeDef typeDef)
      Reference the field of this variable.
      Parameters:
      fieldName - The field type
      typeDef - Teh field type
      Returns:
      The field variable