public class ResolvedJavaMethodBytecodeProvider extends Object implements BytecodeProvider
BytecodeProvider that returns ResolvedJavaMethodBytecode objects.| Modifier and Type | Field and Description |
|---|---|
static ResolvedJavaMethodBytecodeProvider |
INSTANCE
A state-less, shared
ResolvedJavaMethodBytecodeProvider instance. |
| Constructor and Description |
|---|
ResolvedJavaMethodBytecodeProvider() |
| 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.
|
public static final ResolvedJavaMethodBytecodeProvider INSTANCE
ResolvedJavaMethodBytecodeProvider instance.public Bytecode getBytecode(ResolvedJavaMethod method)
BytecodeProviderBytecode object that supplies bytecode properties for method.getBytecode in interface BytecodeProviderpublic boolean supportsInvokedynamic()
BytecodeProvidersupportsInvokedynamic in interface BytecodeProviderpublic boolean shouldRecordMethodDependencies()
BytecodeProvidershouldRecordMethodDependencies in interface BytecodeProvider