Module org.glavo.classfile
Package org.glavo.classfile.impl
Class AbstractPseudoInstruction.UnboundCharacterRange
java.lang.Object
org.glavo.classfile.impl.AbstractElement
org.glavo.classfile.impl.AbstractPseudoInstruction
org.glavo.classfile.impl.AbstractPseudoInstruction.UnboundCharacterRange
- All Implemented Interfaces:
ClassFileElement,CodeElement,CharacterRange,PseudoInstruction
- Enclosing class:
AbstractPseudoInstruction
public static final class AbstractPseudoInstruction.UnboundCharacterRange
extends AbstractPseudoInstruction
implements CharacterRange
-
Nested Class Summary
Nested classes/interfaces inherited from class org.glavo.classfile.impl.AbstractPseudoInstruction
AbstractPseudoInstruction.ExceptionCatchImpl, AbstractPseudoInstruction.UnboundCharacterRange, AbstractPseudoInstruction.UnboundLocalVariable, AbstractPseudoInstruction.UnboundLocalVariableType -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnboundCharacterRange(Label startScope, Label endScope, int characterRangeStart, int characterRangeEnd, int flags) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the encoded end of the character range region (exclusive).intReturns the encoded start of the character range region (inclusive).endScope()Returns the end of the instruction range.intflags()A flags word, indicating the kind of range.Returns the start of the instruction range.voidwriteTo(DirectCodeBuilder writer) Methods inherited from class org.glavo.classfile.impl.AbstractElement
writeTo, writeTo, writeTo
-
Field Details
-
startScope
-
endScope
-
characterRangeStart
public final int characterRangeStart -
characterRangeEnd
public final int characterRangeEnd -
flags
public final int flags
-
-
Constructor Details
-
UnboundCharacterRange
-
-
Method Details
-
startScope
Description copied from interface:CharacterRangeReturns the start of the instruction range.- Specified by:
startScopein interfaceCharacterRange- Returns:
- the start of the instruction range
-
endScope
Description copied from interface:CharacterRangeReturns the end of the instruction range.- Specified by:
endScopein interfaceCharacterRange- Returns:
- the end of the instruction range
-
characterRangeStart
public int characterRangeStart()Description copied from interface:CharacterRangeReturns the encoded start of the character range region (inclusive). The value is constructed from the line_number/column_number pair as given byline_number << 10 + column_number, where the source file is viewed as an array of (possibly multi-byte) characters.- Specified by:
characterRangeStartin interfaceCharacterRange- Returns:
- the encoded start of the character range region (inclusive)
-
characterRangeEnd
public int characterRangeEnd()Description copied from interface:CharacterRangeReturns the encoded end of the character range region (exclusive).. The value is constructed from the line_number/column_number pair as given byline_number << 10 + column_number, where the source file is viewed as an array of (possibly multi-byte) characters.- Specified by:
characterRangeEndin interfaceCharacterRange- Returns:
- the encoded end of the character range region (exclusive)
-
flags
public int flags()Description copied from interface:CharacterRangeA flags word, indicating the kind of range. Multiple flag bits may be set. Valid flags include:- Specified by:
flagsin interfaceCharacterRange- Returns:
- the flags
- See Also:
-
writeTo
- Specified by:
writeToin classAbstractPseudoInstruction
-