public class BytecodeLookupswitch extends Bytecode
Modifier and Type | Method and Description |
---|---|
static BytecodeLookupswitch |
at(BytecodeStream bcs) |
static BytecodeLookupswitch |
at(Method method,
int bci) |
static BytecodeLookupswitch |
atCheck(Method method,
int bci)
Like at, but returns null if the BCI is not at lookupswitch
|
int |
defaultOffset() |
boolean |
isValid() |
int |
numberOfPairs() |
LookupswitchPair |
pairAt(int i) |
java.lang.String |
toString() |
void |
verify() |
bci, code, getBytecodeName, getIndexU1, getIndexU1Cpcache, getIndexU2, getIndexU2Cpcache, getIndexU4, getJavaBytecodeName, getJavaLength, getLength, hasIndexU4, javaCode, method
public int defaultOffset()
public int numberOfPairs()
public LookupswitchPair pairAt(int i)
public void verify()
public boolean isValid()
public static BytecodeLookupswitch at(Method method, int bci)
public static BytecodeLookupswitch atCheck(Method method, int bci)
public static BytecodeLookupswitch at(BytecodeStream bcs)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.