libclassfile - v4.0.6
Preparing search index...
bytecode
helpers
encapsulateOperand
Function encapsulateOperand
encapsulateOperand
<
T
extends
"jumpOffsets"
|
"matchOffsetPairs"
>
(
type
:
T
,
value
:
{
branchByte
:
BranchByteOperand
;
constantPoolEntry
:
ConstantPoolEntryOperand
;
constantPoolEntryShort
:
ConstantPoolEntryOperandShort
;
jumpOffsets
:
JumpOffsettsOperand
;
localVariableIndex
:
LocalVariableIndexOperand
;
matchOffsetPairs
:
MatchOffsetPairsOperand
;
signedByte
:
SignedByteOperand
;
signedInt
:
SignedIntOperand
;
signedLong
:
SignedLongOperand
;
signedShort
:
SignedShortOperand
;
unsignedByte
:
UnsignedByteOperand
;
unsignedShort
:
UnsignedShortOperand
;
}
[
T
]
[
"value"
]
,
size
:
number
,
)
:
{
branchByte
:
BranchByteOperand
;
constantPoolEntry
:
ConstantPoolEntryOperand
;
constantPoolEntryShort
:
ConstantPoolEntryOperandShort
;
jumpOffsets
:
JumpOffsettsOperand
;
localVariableIndex
:
LocalVariableIndexOperand
;
matchOffsetPairs
:
MatchOffsetPairsOperand
;
signedByte
:
SignedByteOperand
;
signedInt
:
SignedIntOperand
;
signedLong
:
SignedLongOperand
;
signedShort
:
SignedShortOperand
;
unsignedByte
:
UnsignedByteOperand
;
unsignedShort
:
UnsignedShortOperand
;
}
[
T
]
Type Parameters
T
extends
"jumpOffsets"
|
"matchOffsetPairs"
Parameters
type
:
T
value
:
{
branchByte
:
BranchByteOperand
;
constantPoolEntry
:
ConstantPoolEntryOperand
;
constantPoolEntryShort
:
ConstantPoolEntryOperandShort
;
jumpOffsets
:
JumpOffsettsOperand
;
localVariableIndex
:
LocalVariableIndexOperand
;
matchOffsetPairs
:
MatchOffsetPairsOperand
;
signedByte
:
SignedByteOperand
;
signedInt
:
SignedIntOperand
;
signedLong
:
SignedLongOperand
;
signedShort
:
SignedShortOperand
;
unsignedByte
:
UnsignedByteOperand
;
unsignedShort
:
UnsignedShortOperand
;
}
[
T
]
[
"value"
]
size
:
number
Returns
{
branchByte
:
BranchByteOperand
;
constantPoolEntry
:
ConstantPoolEntryOperand
;
constantPoolEntryShort
:
ConstantPoolEntryOperandShort
;
jumpOffsets
:
JumpOffsettsOperand
;
localVariableIndex
:
LocalVariableIndexOperand
;
matchOffsetPairs
:
MatchOffsetPairsOperand
;
signedByte
:
SignedByteOperand
;
signedInt
:
SignedIntOperand
;
signedLong
:
SignedLongOperand
;
signedShort
:
SignedShortOperand
;
unsignedByte
:
UnsignedByteOperand
;
unsignedShort
:
UnsignedShortOperand
;
}
[
T
]
encapsulateOperand
<
T
extends
|
"signedByte"
|
"unsignedByte"
|
"branchByte"
|
"constantPoolEntryShort"
|
"constantPoolEntry"
|
"localVariableIndex"
|
"signedShort"
|
"unsignedShort"
|
"signedInt"
|
"signedLong"
,
>
(
type
:
T
,
value
:
{
branchByte
:
BranchByteOperand
;
constantPoolEntry
:
ConstantPoolEntryOperand
;
constantPoolEntryShort
:
ConstantPoolEntryOperandShort
;
jumpOffsets
:
JumpOffsettsOperand
;
localVariableIndex
:
LocalVariableIndexOperand
;
matchOffsetPairs
:
MatchOffsetPairsOperand
;
signedByte
:
SignedByteOperand
;
signedInt
:
SignedIntOperand
;
signedLong
:
SignedLongOperand
;
signedShort
:
SignedShortOperand
;
unsignedByte
:
UnsignedByteOperand
;
unsignedShort
:
UnsignedShortOperand
;
}
[
T
]
[
"value"
]
,
)
:
{
branchByte
:
BranchByteOperand
;
constantPoolEntry
:
ConstantPoolEntryOperand
;
constantPoolEntryShort
:
ConstantPoolEntryOperandShort
;
jumpOffsets
:
JumpOffsettsOperand
;
localVariableIndex
:
LocalVariableIndexOperand
;
matchOffsetPairs
:
MatchOffsetPairsOperand
;
signedByte
:
SignedByteOperand
;
signedInt
:
SignedIntOperand
;
signedLong
:
SignedLongOperand
;
signedShort
:
SignedShortOperand
;
unsignedByte
:
UnsignedByteOperand
;
unsignedShort
:
UnsignedShortOperand
;
}
[
T
]
Type Parameters
T
extends
|
"signedByte"
|
"unsignedByte"
|
"branchByte"
|
"constantPoolEntryShort"
|
"constantPoolEntry"
|
"localVariableIndex"
|
"signedShort"
|
"unsignedShort"
|
"signedInt"
|
"signedLong"
Parameters
type
:
T
value
:
{
branchByte
:
BranchByteOperand
;
constantPoolEntry
:
ConstantPoolEntryOperand
;
constantPoolEntryShort
:
ConstantPoolEntryOperandShort
;
jumpOffsets
:
JumpOffsettsOperand
;
localVariableIndex
:
LocalVariableIndexOperand
;
matchOffsetPairs
:
MatchOffsetPairsOperand
;
signedByte
:
SignedByteOperand
;
signedInt
:
SignedIntOperand
;
signedLong
:
SignedLongOperand
;
signedShort
:
SignedShortOperand
;
unsignedByte
:
UnsignedByteOperand
;
unsignedShort
:
UnsignedShortOperand
;
}
[
T
]
[
"value"
]
Returns
{
branchByte
:
BranchByteOperand
;
constantPoolEntry
:
ConstantPoolEntryOperand
;
constantPoolEntryShort
:
ConstantPoolEntryOperandShort
;
jumpOffsets
:
JumpOffsettsOperand
;
localVariableIndex
:
LocalVariableIndexOperand
;
matchOffsetPairs
:
MatchOffsetPairsOperand
;
signedByte
:
SignedByteOperand
;
signedInt
:
SignedIntOperand
;
signedLong
:
SignedLongOperand
;
signedShort
:
SignedShortOperand
;
unsignedByte
:
UnsignedByteOperand
;
unsignedShort
:
UnsignedShortOperand
;
}
[
T
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
libclassfile - v4.0.6
Loading...