org.eclipse.emf.codegen.merge.java.facade
Class AbstractJNode
java.lang.Object
org.eclipse.emf.codegen.merge.java.facade.AbstractJNode
- All Implemented Interfaces:
- JNode
- Direct Known Subclasses:
- ASTJNode, JDOMJNode
public abstract class AbstractJNode
- extends java.lang.Object
- implements JNode
- Since:
- 2.2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_STRING_ARRAY
protected static final java.lang.String[] EMPTY_STRING_ARRAY
qualifiedName
protected java.lang.String qualifiedName
AbstractJNode
public AbstractJNode()
dispose
public abstract void dispose()
isDisposed
public abstract boolean isDisposed()
getWrappedObject
protected abstract java.lang.Object getWrappedObject()
setFacadeHelper
public abstract void setFacadeHelper(FacadeHelper facadeHelper)
getFacadeHelper
public abstract FacadeHelper getFacadeHelper()
getQualifiedName
public java.lang.String getQualifiedName()
- Description copied from interface:
JNode
- Returns the qualified name of this node. This value is not
expected to change as the node is modified.
- Specified by:
getQualifiedName
in interface JNode
- Returns:
- the qualified name of this type
computeQualifiedName
protected java.lang.String computeQualifiedName()
getName
protected java.lang.String getName(JInitializer initializer)
computeQualifiedName
protected java.lang.String computeQualifiedName(JInitializer initializer)
computeQualifiedName
protected java.lang.String computeQualifiedName(JAbstractType abstractType)
computeQualifiedName
protected java.lang.String computeQualifiedName(JMethod method)
getChildren
public java.util.List<JNode> getChildren()
- Description copied from interface:
JNode
- Returns the children of this node. Returns an empty list
if this node has no children (including nodes that cannot have children).
Children appear in the order in which they are declared in the source code.
The list must be unmodifiable if the implementation doesn't support direct manipulation.
- Specified by:
getChildren
in interface JNode
- Returns:
- a list of the children
getFlags
public int getFlags()
- Description copied from interface:
JNode
- Returns the modifier flags for this node. The flags can be examined using
class
FacadeFlags
.
- Specified by:
getFlags
in interface JNode