|
||||||||||||
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 | |
---|---|
java.lang.String |
getBody()
Returns the body of this initializer. |
void |
setBody(java.lang.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 java.lang.String getBody()
null
if
no body is presentpublic void setBody(java.lang.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 |