|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jode.expr.Expression
net.sf.jode.expr.Operator
net.sf.jode.expr.FieldOperator
This class contains everything shared between PutFieldOperator and GetFieldOperator
Field Summary |
Fields inherited from class net.sf.jode.expr.Operator |
ADD_OP, AND_OP, ASSIGN_OP, COMPARE_OP, DEC_OP, EQUALS_OP, GREATER_OP, GREATEREQ_OP, INC_OP, LESS_OP, LESSEQ_OP, LOG_AND_OP, LOG_NOT_OP, LOG_OR_OP, NEG_OP, NOTEQUALS_OP, OPASSIGN_OP, operatorIndex, SHIFT_OP, SUB_OP |
Fields inherited from class net.sf.jode.expr.Expression |
EMPTYSTRING, type |
Constructor Summary | |
FieldOperator(MethodAnalyzer methodAnalyzer,
boolean staticFlag,
Reference ref)
|
Method Summary | |
void |
dumpExpression(TabbedPrintWriter writer)
|
void |
fillDeclarables(java.util.Collection used)
We add the named method scoped classes to the declarables. |
ClassInfo |
getClassInfo()
|
FieldAnalyzer |
getField()
Returns the field analyzer for the field, if the field is declared in the same class or some outer class as the method containing this instruction. |
FieldInfo |
getFieldInfo()
|
java.lang.String |
getFieldName()
|
Type |
getFieldType()
|
int |
getPriority()
Get priority of the operator. |
boolean |
isStatic()
|
boolean |
needsCast(Type type)
|
void |
updateSubTypes()
Tells an expression that an outer expression has changed our type and that the inner types should be recalculated. |
void |
updateType()
Tells an expression that an inner expression may have changed and that the type should be recalculated. |
Methods inherited from class net.sf.jode.expr.Operator |
addOperand, canCombine, combine, containsConflictingLoad, containsMatchingLoad, equals, fillInGenSet, getFreeOperandCount, getOperator, getOperatorIndex, getOperatorString, getSubExpressions, hasSideEffects, initOperands, isConstant, isFreeOperator, isFreeOperator, makeDeclaration, opEquals, setOperatorIndex, setSubExpressions, simplify, subsEquals |
Methods inherited from class net.sf.jode.expr.Expression |
dumpExpression, dumpExpression, getBreakPenalty, getParent, getType, isVoid, makeInitializer, negate, removeOnetimeLocals, setType, simplifyString, simplifyStringBuffer, toString, updateParentType |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FieldOperator(MethodAnalyzer methodAnalyzer, boolean staticFlag, Reference ref)
Method Detail |
public int getPriority()
Expression
getPriority
in class Expression
public void updateSubTypes()
Expression
updateSubTypes
in class Expression
public void updateType()
Expression
updateType
in class Expression
public boolean isStatic()
public ClassInfo getClassInfo()
public FieldAnalyzer getField()
public java.lang.String getFieldName()
public Type getFieldType()
public FieldInfo getFieldInfo()
public boolean needsCast(Type type)
public void fillDeclarables(java.util.Collection used)
fillDeclarables
in class Operator
public void dumpExpression(TabbedPrintWriter writer) throws java.io.IOException
dumpExpression
in class Operator
java.io.IOException
|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |