Interface Expression.Part

All Known Subinterfaces:
Expression.VirtualMethodPart
Enclosing interface:
Expression

public static interface Expression.Part
See Also:
  • Method Details

    • getName

      String getName()
      Returns:
      the name of a property or virtual method
    • getTypeInfo

      String getTypeInfo()
      An expression part may have a "type check information" attached. The string can be one of the following:
      • type info that represents a fully qualified type name (including type parameters) - |TYPE_INFO|<section-hint>; for example |org.acme.Foo|, |java.util.List<org.acme.Label>| and |org.acme.Foo|<when#123>
      • property; for example foo and foo<loop#123>
      • virtual method; for example foo.call(bar) and foo.getNames(10)<loop-element>
      Returns:
      the type check info
    • isVirtualMethod

      default boolean isVirtualMethod()
    • asVirtualMethod

      default Expression.VirtualMethodPart asVirtualMethod()