public class LogRecordOperationSource extends Object
| 构造器和说明 |
|---|
LogRecordOperationSource() |
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<LogRecordOps> |
computeLogRecordOperations(Method method,
Class<?> targetClass) |
static Method |
getInterfaceMethodIfPossible(Method method)
Determine a corresponding interface method for the given method handle, if possible.
|
public Collection<LogRecordOps> computeLogRecordOperations(Method method, Class<?> targetClass)
public static Method getInterfaceMethodIfPossible(Method method)
This is particularly useful for arriving at a public exported type on Jigsaw which can be reflectively invoked without an illegal access warning.
method - the method to be invoked, potentially from an implementation classCopyright © 2023. All rights reserved.