|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
String |
getBody()
Returns the body of this initializer. |
void |
setBody(String body)
Sets the body of this initializer. |
Methods inherited from interface org.eclipse.emf.codegen.merge.java.facade.JMember |
getComment, setComment |
Methods inherited from interface org.eclipse.emf.codegen.merge.java.facade.JNode |
getChildren, getContents, getFlags, getName, getParent, getQualifiedName, setFlags |
Method Detail |
public String getBody()
null
if
no body is presentpublic void setBody(String body)
body
- an initializer body, including braces, or null
indicating no body
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |