public interface InitializerDeclaration extends TypeBodyDeclaration
static
modifier, then it will represent a class initializer.
Otherwise it will represent an instance initializer.
[JLS3:8.6] Instance Initializers
[JLS3:8.7] Static Initializers
Modifier and Type | Method and Description |
---|---|
Block |
getBody()
Returns the initializer body block.
|
Javadoc |
getJavadoc()
Returns the documentation comment.
|
getModifiers
accept, equals, findModelTrait, getModelKind, hashCode, putModelTrait
Javadoc getJavadoc()
getJavadoc
in interface TypeBodyDeclaration
null
if it is not specifiedBlock getBody()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.