Class JExpr.CastExpr

  • Enclosing class:
    JExpr

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

      • CastExpr

        public CastExpr()
    • Method Detail

      • 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 java.lang.String getNodeString()
        Returns the node name.
        Overrides:
        getNodeString in class JNode
      • getClassNameImpl

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