Extension SDK

oracle.jdeveloper.jot
Interface JotPostIncrementOrDecrement

All Superinterfaces:
JotElement, JotExpression, JotStatementExpression, JotUnaryExpression

public interface JotPostIncrementOrDecrement
extends JotUnaryExpression, JotStatementExpression

The JotPostIncrementOrDecrement interface represents a postfix increment or decrement expression. The expression has the form:

   i++
   this.length--
 

Since:
5.0
See Also:
"Section 15.14 of the Java Language Specification Second Edition"

Field Summary
 
Fields inherited from interface oracle.jdeveloper.jot.JotExpression
ANONYMOUS_CLASS_ALLOCATION_EXPRESSION, ARRAY_ALLOCATION_EXPRESSION, ARRAY_DEREFERENCE_EXPRESSION, ARRAY_INITIALIZER_EXPRESSION, ASSIGNMENT_EXPRESSION, CLASS_ALLOCATION_EXPRESSION, INFIX_EXPRESSION, METHOD_CALL_EXPRESSION, NESTED_EXPRESSION, POST_INC_OR_DEC_EXPRESSION, PRE_INC_OR_DEC_EXPRESSION, PRIMARY_EXPRESSION, QUESTION_EXPRESSION, TYPECAST_EXPRESSION, UNARY_EXPRESSION, UNCATEGORIZED_EXPRESSION
 
Method Summary
 boolean isDecrement()
          Whether this expression represents a decrement.
 boolean isIncrement()
          Whether this expression represents an increment.
 
Methods inherited from interface oracle.jdeveloper.jot.JotUnaryExpression
getOperand, getOperator, setOperand, setOperator
 
Methods inherited from interface oracle.jdeveloper.jot.JotExpression
getAsAnonymousClass, getAsArrayAllocation, getAsArrayDereference, getAsArrayInitializer, getAsAssignment, getAsClassAllocation, getAsInfixExpression, getAsMethodCall, getAsNestedExpression, getAsPostIncrementOrDecrement, getAsPreIncrementOrDecrement, getAsPrimaryExpression, getAsQuestionExpression, getAsTypecast, getAsUnaryExpression, getExpressionString, getExpressionType, getMinimumReferenceName, isParenthesized, renameObjectReference, resolveTypeReference, setParenthesized
 
Methods inherited from interface oracle.jdeveloper.jot.JotElement
getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent
 

Method Detail

isIncrement

public boolean isIncrement()
Whether this expression represents an increment.


isDecrement

public boolean isDecrement()
Whether this expression represents a decrement.


Extension SDK

 

Copyright ©1997, 2003, Oracle. All rights reserved.