Class StringTemplateComponent


public class StringTemplateComponent extends Expression
StringTemplateComponent AST node type is a combination of a single embedded expression followed by a StringFragment.
 StringTemplateComponent:
  \{ Expression } StringFragment
 
Since:
3.37
Restriction:
This class is not intended to be referenced by clients.
  • Field Details

  • Method Details

    • propertyDescriptors

      public static List propertyDescriptors(int apiLevel)
      Returns a list of structural property descriptors for this node type. Clients must not modify the result.
      Parameters:
      apiLevel - the API level; one of the AST.JLS* constants
      Returns:
      a list of property descriptors (element type: StructuralPropertyDescriptor)
    • propertyDescriptors

      public static List propertyDescriptors(int apiLevel, boolean previewEnabled)
    • setEmbeddedExpression

      public void setEmbeddedExpression(Expression processor)
      Restriction:
      This method is not intended to be referenced by clients as it is a part of Java preview feature.
    • getEmbeddedExpression

      public Expression getEmbeddedExpression()
      Restriction:
      This method is not intended to be referenced by clients as it is a part of Java preview feature.
    • setStringFragment

      public void setStringFragment(StringFragment fragment)
      Restriction:
      This method is not intended to be referenced by clients as it is a part of Java preview feature.
    • getStringFragment

      public StringFragment getStringFragment()
      Restriction:
      This method is not intended to be referenced by clients as it is a part of Java preview feature.