|
|||||||||||
| 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.JxStaticInit
An object wrapping the SInit element.
| Field Summary | |
protected org.w3c.dom.Element[] |
faccessElems
Elements of field accesses within in this method. |
protected org.w3c.dom.Element[] |
innerclassElems
Elements of inner classes within in this method. |
protected org.w3c.dom.Element[] |
localElems
Elements of local variables defined in this method. |
protected org.w3c.dom.Element[] |
mcallElems
Elements of method calls within in this method. |
protected org.w3c.dom.Element[] |
vaccessElems
Elements of variable accesses within in this method. |
| Fields inherited from class org.jtool.jxplatform.wrapper.JxElement |
element |
| Constructor Summary | |
protected |
JxStaticInit()
Creates a new, empty object. |
protected |
JxStaticInit(org.w3c.dom.Element elem)
Creates a new object wrapping a SInit element. |
| Method Summary | |
boolean |
enclose(org.w3c.dom.Element elem)
Tests if this static initializer element encloses a given element. |
boolean |
equals(JxStaticInit jstatic)
Tests if a given static initializer wrapper equals to this one. |
org.w3c.dom.Element[] |
getAllFieldAccessElements()
Returns elements of field accesses contained in this method. |
org.w3c.dom.Element[] |
getAllInnerClassElements()
Returns the elements of inner classes contained in this method. |
org.w3c.dom.Element[] |
getAllLocalElements()
Returns the elements of all local variable declarations contained in this static initializer. |
org.w3c.dom.Element[] |
getAllMethodCallElements()
Returns the elements of method calls contained in this static initializer. |
org.w3c.dom.Element[] |
getAllVariableAccessElements()
Returns the elements of variable accesses contained in this static inotializer. |
JxVariableList |
getDefinedJxVariables()
Returns variable accesses the value of which is defined in this method. |
JxVariableList |
getJxVariables()
Returns variable appearing in this method. |
static org.w3c.dom.Element |
getStaticInitElement(org.w3c.dom.Element elem)
Returns the SInit element containing a given element. |
JxVariableList |
getUsedJxVariables()
Returns variable accesses the value of which is used in this method. |
boolean |
isStatic()
Test if this static initializer is static. |
static boolean |
isStaticInit(org.w3c.dom.Element elem)
Tests if a given element equals to SInit. |
void |
print()
Displays information about this static initializer wrapper for debugging. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected org.w3c.dom.Element[] localElems
protected org.w3c.dom.Element[] mcallElems
protected org.w3c.dom.Element[] faccessElems
protected org.w3c.dom.Element[] vaccessElems
protected org.w3c.dom.Element[] innerclassElems
| Constructor Detail |
protected JxStaticInit()
protected JxStaticInit(org.w3c.dom.Element elem)
throws JxWrapperException
SInit element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.| Method Detail |
public static boolean isStaticInit(org.w3c.dom.Element elem)
SInit.
elem - An element of the DOM.
true if the element equals to SInit, otherwise false.public static org.w3c.dom.Element getStaticInitElement(org.w3c.dom.Element elem)
SInit element containing a given element.
elem - An element of the DOM.
SInit element, or null if thereis no such element.public boolean equals(JxStaticInit jstatic)
jstatic - A static initializer wrapper.
true if the static initializer wrapper equals to this one,
otherwise false.public boolean enclose(org.w3c.dom.Element elem)
elem - An element of the DOM.
true if this element encloses the element.public boolean isStatic()
true if this static initializer is static.public org.w3c.dom.Element[] getAllLocalElements()
Local elements.public org.w3c.dom.Element[] getAllMethodCallElements()
public org.w3c.dom.Element[] getAllFieldAccessElements()
public org.w3c.dom.Element[] getAllVariableAccessElements()
public JxVariableList getDefinedJxVariables()
throws JxWrapperException
JxVariable.
JxWrapperException - if the creation of a variable access wrapper fails.
public JxVariableList getUsedJxVariables()
throws JxWrapperException
JxVariable.
JxWrapperException - if the creation of a variable access wrapper fails.
public JxVariableList getJxVariables()
throws JxWrapperException
JxVariable.
JxWrapperException - if the creation of a wrapper fails.public org.w3c.dom.Element[] getAllInnerClassElements()
public void print()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||