|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.expressions.ExpressionInfo
public class ExpressionInfo
A status object describing information about an expression tree. This information can for example be used to decide whether an expression tree has to be reevaluated if the value of some variables changes.
This class is not intended to be extended by clients.
Constructor Summary | |
---|---|
ExpressionInfo()
|
Method Summary | |
---|---|
void |
addAccessedPropertyName(java.lang.String name)
Marks the given property (the fully qualified name of a PropertyTester property) as accessed. |
void |
addMisBehavingExpressionType(java.lang.Class clazz)
Adds the given class to the list of misbehaving classes. |
void |
addVariableNameAccess(java.lang.String name)
Marks the given variable as accessed. |
java.lang.String[] |
getAccessedPropertyNames()
Returns the set of accessed PropertyTester properties. |
java.lang.String[] |
getAccessedVariableNames()
Returns the set of accessed variables. |
java.lang.Class[] |
getMisbehavingExpressionTypes()
Returns the set of expression types which don't implement the new (@link Expression#computeReevaluationInfo(IEvaluationContext)} method. |
boolean |
hasDefaultVariableAccess()
Returns true if the default variable is accessed
by the expression tree. |
boolean |
hasSystemPropertyAccess()
Returns true if the system property is accessed
by the expression tree. |
void |
markDefaultVariableAccessed()
Marks the default variable as accessed. |
void |
markSystemPropertyAccessed()
Marks the system property as accessed. |
void |
merge(ExpressionInfo other)
Merges this reevaluation information with the given info. |
void |
mergeExceptDefaultVariable(ExpressionInfo other)
Merges this reevaluation information with the given info ignoring the default variable access. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpressionInfo()
Method Detail |
---|
public boolean hasDefaultVariableAccess()
true
if the default variable is accessed
by the expression tree.
public void markDefaultVariableAccessed()
public boolean hasSystemPropertyAccess()
true
if the system property is accessed
by the expression tree.
public void markSystemPropertyAccessed()
public java.lang.String[] getAccessedVariableNames()
public void addVariableNameAccess(java.lang.String name)
name
- the accessed variablepublic java.lang.String[] getAccessedPropertyNames()
PropertyTester
properties.
for system properties
public void addAccessedPropertyName(java.lang.String name)
PropertyTester
property) as accessed.
name
- the fully qualified property namefor system properties
public java.lang.Class[] getMisbehavingExpressionTypes()
null
if
all expressions implement the method.
computeReevaluationInfo
method.public void addMisBehavingExpressionType(java.lang.Class clazz)
clazz
- the class to add.public void merge(ExpressionInfo other)
other
- the information to merge withpublic void mergeExceptDefaultVariable(ExpressionInfo other)
other
- the information to merge with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |