public interface BytecodeProvider
Bytecode object for interposing on the bytecode of a
ResolvedJavaMethod (i.e., potentially getting bytecode different than
ResolvedJavaMethod.getCode()).| Modifier and Type | Method and Description |
|---|---|
Bytecode |
getBytecode(ResolvedJavaMethod method)
Gets a
Bytecode object that supplies bytecode properties for method. |
boolean |
shouldRecordMethodDependencies()
Determines if methods parsed using this provider should be recorded so that method
redefinition can invalidate the resulting code.
|
boolean |
supportsInvokedynamic()
Determines if this provider supports the INVOKEDYNAMIC bytecode.
|
Bytecode getBytecode(ResolvedJavaMethod method)
Bytecode object that supplies bytecode properties for method.boolean supportsInvokedynamic()
boolean shouldRecordMethodDependencies()