Package com.sun.codemodel
Class JOp.UnaryOp
- java.lang.Object
-
- com.sun.codemodel.JExpressionImpl
-
- com.sun.codemodel.JOp.UnaryOp
-
- All Implemented Interfaces:
JExpression
,JGenerable
- Direct Known Subclasses:
JOp.TightUnaryOp
- Enclosing class:
- JOp
private static class JOp.UnaryOp extends JExpressionImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected JExpression
e
protected java.lang.String
op
protected boolean
opFirst
-
Constructor Summary
Constructors Constructor Description UnaryOp(JExpression e, java.lang.String op)
UnaryOp(java.lang.String op, JExpression e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generate(JFormatter f)
-
-
-
Field Detail
-
op
protected java.lang.String op
-
e
protected JExpression e
-
opFirst
protected boolean opFirst
-
-
Constructor Detail
-
UnaryOp
UnaryOp(java.lang.String op, JExpression e)
-
UnaryOp
UnaryOp(JExpression e, java.lang.String op)
-
-
Method Detail
-
generate
public void generate(JFormatter f)
-
-