Schnittstelle IDOMInitializer
- Alle Superschnittstellen:
Cloneable
,IDOMMember
,IDOMNode
Veraltet.
The JDOM was made obsolete by the addition in 2.0 of the more
powerful, fine-grained DOM/AST API found in the
org.eclipse.jdt.core.dom package.
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.
-
Feldübersicht
Von Schnittstelle geerbte Felder org.aspectj.org.eclipse.jdt.core.jdom.IDOMNode
COMPILATION_UNIT, FIELD, IMPORT, INITIALIZER, METHOD, PACKAGE, TYPE
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetBody()
Veraltet.Returns the body of this initializer.getName()
Veraltet.TheIDOMInitializer
refinement of thisIDOMNode
method returnsnull
.void
Veraltet.Sets the body of this initializer.void
Veraltet.TheIDOMInitializer
refinement of thisIDOMNode
method does nothing.Von Schnittstelle geerbte Methoden org.aspectj.org.eclipse.jdt.core.jdom.IDOMMember
getComment, getFlags, setComment, setFlags
Von Schnittstelle geerbte Methoden org.aspectj.org.eclipse.jdt.core.jdom.IDOMNode
addChild, canHaveChildren, clone, getCharacters, getChild, getChildren, getContents, getFirstChild, getJavaElement, getNextNode, getNodeType, getParent, getPreviousNode, insertSibling, isAllowableChild, isSignatureEqual, remove
-
Methodendetails
-
getBody
String getBody()Veraltet.Returns the body of this initializer. The syntax for a body corresponds to InstanceInitializer (JLS2 8.6) and StaticDeclaration (JLS2 8.7).- Gibt zurück:
- an initializer body, including braces, or
null
if no body is present
-
getName
String getName()Veraltet.TheIDOMInitializer
refinement of thisIDOMNode
method returnsnull
. An initializer does not have a name. -
setBody
Veraltet.Sets the body of this initializer. The syntax for a body corresponds to InstanceInitializer (JLS2 8.6) and StaticDeclaration (JLS2 8.7). No formatting or syntax checking is performed on the body. Braces must be included.- Parameter:
body
- an initializer body, including braces, ornull
indicating no body
-
setName
Veraltet.TheIDOMInitializer
refinement of thisIDOMNode
method does nothing.
-