com.borland.jbuilder.jot
Interface JotInitBlock

All Superinterfaces:
JotCodeBlock, JotCommentable, JotMarker, JotSourceElement, JotStatement

public interface JotInitBlock
extends JotCodeBlock

This interface represents a class or instance initialization block. See See section 8.5 of the Java Language Specification and the Inner Classes Specification for details.


Method Summary
 int getModifiers()
          Returns the Java language modifiers for this initialization block encoded in an integer.
 
Methods inherited from interface com.borland.jbuilder.jot.JotCodeBlock
addAssignment, addDoStatement, addForStatement, addIfStatement, addIfStatement, addInnerClass, addMethodCall, addReturnStatement, addStatement, addStatement, addTryStatement, addTryStatement, addVariableDeclaration, addWhileStatement, getAssignments, getComparableLocation, getDeclaredInnerClasses, getMethodCall, getMethodCalls, getMethodCalls, getStatements, getVariableDeclaration, getVariableDeclarations, removeAssignment, removeInnerClass, removeMethodCall, removeStatement, removeVariableDeclaration
 
Methods inherited from interface com.borland.jbuilder.jot.JotCommentable
addBlankLine, addComment, getComment, removeComment
 
Methods inherited from interface com.borland.jbuilder.jot.JotMarker
addUserData, getEndPosition, getStartPosition, getUserData
 
Methods inherited from interface com.borland.jbuilder.jot.JotStatement
getCodeBlock
 
Methods inherited from interface com.borland.jbuilder.jot.JotSourceElement
getIndentLevel, getParent, getText, isModified, setModified, setText
 

Method Detail

getModifiers

public int getModifiers()
Returns the Java language modifiers for this initialization block encoded in an integer. The modifiers should be decoded using the methods of class Modifier. Only the STATIC bit is significant and it is set if this block is a class initializer. Otherwise, this block represents an instance initializer.

The modifier encodings are defined in The Java Virtual Machine Specification, table 4.1.

See Also:
Modifier