Class JExpr.CastExpr

Enclosing class:
JExpr

public static class JExpr.CastExpr extends JExpr
A JExpr subclass for Cast expressions.
  • Constructor Details

    • CastExpr

      public CastExpr()
  • Method Details

    • getCastType

      public JType getCastType()
      Returns the cast JType.
    • setCastType

      public void setCastType(JType aType)
      Sets the cast JType.
    • getCastExpression

      public JExpr getCastExpression()
      Returns the cast expression.
    • setCastExpression

      public void setCastExpression(JExpr anExpr)
      Sets the cast expression.
    • getNodeString

      public String getNodeString()
      Returns the node name.
      Overrides:
      getNodeString in class JNode
    • getClassNameImpl

      protected String getClassNameImpl()
      Tries to resolve the class name for this node.
      Overrides:
      getClassNameImpl in class JNode