|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDOMInitializer
Represents an initializer. The corresponding syntactic units are InstanceInitializer (JLS2 8.6) and StaticDeclaration (JLS2 8.7). An initializer has no children and its parent is a type.
Field Summary |
---|
Fields inherited from interface org.eclipse.jdt.core.jdom.IDOMNode |
---|
COMPILATION_UNIT, FIELD, IMPORT, INITIALIZER, METHOD, PACKAGE, TYPE |
Method Summary | |
---|---|
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. |
Methods inherited from interface org.eclipse.jdt.core.jdom.IDOMMember |
---|
getComment, getFlags, setComment, setFlags |
Methods inherited from interface org.eclipse.jdt.core.jdom.IDOMNode |
---|
addChild, canHaveChildren, clone, getCharacters, getChild, getChildren, getContents, getFirstChild, getJavaElement, getNextNode, getNodeType, getParent, getPreviousNode, insertSibling, isAllowableChild, isSignatureEqual, remove |
Method Detail |
---|
String getBody()
null
if
no body is presentString getName()
IDOMInitializer
refinement of this IDOMNode
method returns null
. An initializer does not have a name.
getName
in interface IDOMNode
null
void setBody(String body)
body
- an initializer body, including braces, or null
indicating no bodyvoid setName(String name)
IDOMInitializer
refinement of this IDOMNode
method does nothing.
setName
in interface IDOMNode
name
- the given name
|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.