public interface IDOMInitializer extends IDOMMember
COMPILATION_UNIT, FIELD, IMPORT, INITIALIZER, METHOD, PACKAGE, TYPE
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Deprecated.
Returns the body of this initializer.
|
String |
getName()
Deprecated.
The
IDOMInitializer refinement of this IDOMNode
method returns null . |
void |
setBody(String body)
Deprecated.
Sets the body of this initializer.
|
void |
setName(String name)
Deprecated.
The
IDOMInitializer refinement of this IDOMNode
method does nothing. |
getComment, getFlags, setComment, setFlags
addChild, canHaveChildren, clone, getCharacters, getChild, getChildren, getContents, getFirstChild, getJavaElement, getNextNode, getNodeType, getParent, getPreviousNode, insertSibling, isAllowableChild, isSignatureEqual, remove
String getBody()
null
if
no body is presentString getName()
IDOMInitializer
refinement of this IDOMNode
method returns null
. An initializer does not have a name.void setBody(String body)
body
- an initializer body, including braces, or null
indicating no body
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.