Package com.thoughtworks.qdox.model
Interface JavaInitializer
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultJavaInitializer
A
JavaClass
can have contain one of the following initializers:
- A static initializer declared in a class is executed when the class is initialized
- An instance initializer declared in a class is executed when an instance of the class is created
public class Example { static { // static initializer } { // instance initializer } }
- Since:
- 2.0
-
Method Summary
-
Method Details
-
isStatic
boolean isStatic() -
getBlockContent
String getBlockContent()
-