|
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.InvokeOperator
Field Summary | |
static int |
ACCESSSPECIAL
|
static int |
CONSTRUCTOR
|
static int |
SPECIAL
|
static int |
STATIC
|
static int |
VIRTUAL
|
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 | |
InvokeOperator(MethodAnalyzer methodAnalyzer,
int methodFlag,
Reference reference)
|
Method Summary | |
void |
checkAnonymousClasses()
|
ConstOperator |
deobfuscateString(ConstOperator op)
|
void |
dumpExpression(TabbedPrintWriter writer)
|
void |
fillDeclarables(java.util.Collection used)
We add the named method scoped classes to the declarables, and only fillDeclarables on the parameters we will print. |
int |
getBreakPenalty()
Get the penalty for splitting up this operator. |
ClassAnalyzer |
getClassAnalyzer()
Tries to locate the class analyzer for the callee class. |
ClassInfo |
getClassInfo()
|
ClassPath |
getClassPath()
|
Type |
getClassType()
|
MethodAnalyzer |
getMethodAnalyzer()
Tries to locate the method analyzer for the callee. |
MethodInfo |
getMethodInfo()
|
java.lang.String |
getMethodName()
|
MethodType |
getMethodType()
|
int |
getPriority()
Get priority of the operator. |
boolean |
isConstant()
|
boolean |
isConstructor()
|
boolean |
isGetClass()
Checks if the method is the magic class$ method. |
boolean |
isOuter()
Checks, whether this is a call of a method from this class or an outer instance. |
boolean |
isStatic()
|
boolean |
isSuperOrThis()
Checks, whether this is a call of a method from the super class. |
boolean |
isThis()
Checks, whether this is a call of a method from this class. |
void |
makeDeclaration(java.util.Set done)
We add the named method scoped classes to the declarables, and only fillDeclarables on the parameters we will print. |
void |
makeNonVoid()
Makes a non void expression, in case this is a constructor. |
boolean |
matches(Operator loadop)
Checks if the value of the operator can be changed by this expression. |
boolean |
needsCast(int param,
Type[] paramTypes)
|
boolean |
opEquals(Operator o)
|
Expression |
simplify()
|
Expression |
simplifyAccess()
|
Expression |
simplifyString()
|
Expression |
simplifyStringBuffer()
|
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, isFreeOperator, isFreeOperator, setOperatorIndex, setSubExpressions, subsEquals |
Methods inherited from class net.sf.jode.expr.Expression |
dumpExpression, dumpExpression, getParent, getType, isVoid, makeInitializer, negate, removeOnetimeLocals, setType, toString, updateParentType |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int VIRTUAL
public static final int SPECIAL
public static final int STATIC
public static final int CONSTRUCTOR
public static final int ACCESSSPECIAL
Constructor Detail |
public InvokeOperator(MethodAnalyzer methodAnalyzer, int methodFlag, Reference reference)
Method Detail |
public final ClassPath getClassPath()
public final boolean isStatic()
public MethodType getMethodType()
public java.lang.String getMethodName()
public MethodInfo getMethodInfo()
public Type getClassType()
public int getPriority()
Expression
getPriority
in class Expression
public void checkAnonymousClasses()
public void updateSubTypes()
Expression
updateSubTypes
in class Expression
public void updateType()
Expression
updateType
in class Expression
public void makeNonVoid()
public boolean isConstructor()
public ClassInfo getClassInfo()
public boolean isThis()
public ClassAnalyzer getClassAnalyzer()
public boolean isOuter()
public MethodAnalyzer getMethodAnalyzer()
public boolean isSuperOrThis()
public boolean isConstant()
isConstant
in class Operator
public boolean matches(Operator loadop)
matches
in interface MatchableOperator
public boolean isGetClass()
public ConstOperator deobfuscateString(ConstOperator op)
public Expression simplifyStringBuffer()
simplifyStringBuffer
in class Expression
public Expression simplifyString()
simplifyString
in class Expression
public Expression simplifyAccess()
public boolean needsCast(int param, Type[] paramTypes)
public Expression simplify()
simplify
in class Operator
public void fillDeclarables(java.util.Collection used)
fillDeclarables
in class Operator
public void makeDeclaration(java.util.Set done)
makeDeclaration
in class Operator
public int getBreakPenalty()
Expression
getBreakPenalty
in class Expression
public void dumpExpression(TabbedPrintWriter writer) throws java.io.IOException
dumpExpression
in class Operator
java.io.IOException
public boolean opEquals(Operator o)
opEquals
in class Operator
|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |