|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.wrapper.JxElement
org.jtool.jxplatform.wrapper.JxDefUseExpression
org.jtool.jxplatform.wrapper.JxExpression
org.jtool.jxplatform.wrapper.JxVariable
org.jtool.jxplatform.wrapper.JxFieldAccess
An object wrapping the Expr elment with the sort="FieldRef" attribute.
| Field Summary | |
protected java.lang.String |
ref
The name of a class defining the referenced field. |
| Fields inherited from class org.jtool.jxplatform.wrapper.JxVariable |
binding, declaration, defid, FIELD, fqn, LOCAL, name, PARAMETER, sort |
| Fields inherited from class org.jtool.jxplatform.wrapper.JxDefUseExpression |
defs, expressions, uses |
| Fields inherited from class org.jtool.jxplatform.wrapper.JxElement |
element |
| Constructor Summary | |
protected |
JxFieldAccess()
Creates a new, empty object. |
protected |
JxFieldAccess(org.w3c.dom.Element elem)
Creates a new object wrapping a Expr element with the sort="FieldRef" attribute. |
protected |
JxFieldAccess(org.w3c.dom.Element elem,
org.w3c.dom.Element decl)
Creates a new object wrapping a Expr element with the sort="FieldRef" attribute. |
| Method Summary | |
org.w3c.dom.Element |
getDeclaration()
Returns the declaration element for the referenced field. |
java.lang.String |
getReferencedClassFqn()
Returns the name of a class defining the referenced field. |
JxField |
getReferencedJxField()
Returns the field wrapper referenced by this variable access. |
void |
print()
Displays information about this variable wrapper for debugging. |
| Methods inherited from class org.jtool.jxplatform.wrapper.JxVariable |
equals, getBindingName, getDefId, getFqn, getName, getStatementElement, getTypeFqn, isDeclarationVariable, isDefinedVariable, isField, isLocal, isNonDefUseVariable, isParameter, isUsedVariable, isVariable |
| Methods inherited from class org.jtool.jxplatform.wrapper.JxExpression |
equals, getCastedTypeFqn, getCastedTypeName, getDotPrefix, getJavaStatement, getSort, isArrayCreation, isAssign, isConstructorCall, isDotOperator, isExpression, isFieldAccess, isInSimpleAssignment, isInstanceCreation, isMethodCall, isOpAssign, isParenthesis, isPostAssignment, isPostDecrement, isPostIncrement, isPreAssignment, isPreDecrement, isPreIncement, isSuperConstructorCall, isSuperReference, isThisConstructorCall, isThisReference, isVariableAccess |
| Methods inherited from class org.jtool.jxplatform.wrapper.JxDefUseExpression |
addDefinedVariable, addDefinedVariableFirst, addUsedVariable, addUsedVariableFirst, clearDefinedVariable, clearUsedVariable, definesVariable, getDefinedVariables, getExpressions, getUsedVariables, removeDefinedVariable, removeUsedVariable, usesVariable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String ref
| Constructor Detail |
protected JxFieldAccess()
protected JxFieldAccess(org.w3c.dom.Element elem,
org.w3c.dom.Element decl)
throws JxWrapperException
Expr element with the sort="FieldRef" attribute.
elem - An DOM element to be wrapped.decl - The declaration's element referenced by this field varaible.
JxWrapperException - if the specified element is not valid.
protected JxFieldAccess(org.w3c.dom.Element elem)
throws JxWrapperException
Expr element with the sort="FieldRef" attribute.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.| Method Detail |
public java.lang.String getReferencedClassFqn()
public org.w3c.dom.Element getDeclaration()
getDeclaration in class JxVariableField.
public JxField getReferencedJxField()
throws JxWrapperException
JxWrapperExceptionpublic void print()
print in class JxVariable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||