public class MethodLookup extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MethodLookup.LookupMethodVisitor |
Modifier and Type | Method and Description |
---|---|
static MethodLookup |
lookup(String signature,
SquidClassLoader classLoader,
MethodLookup.LookupMethodVisitor methodVisitor)
Lookup method as described in JVM spec https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-5.html#jvms-5.4.3.3
Some steps of the algorithm are not followed precisely, mostly the concept of maximally-specific superinterface,
this should be OK, because such code should not compile anyway (i.e this can happen only if runtime and compile-time
dependencies are different)
|
@CheckForNull public static MethodLookup lookup(String signature, SquidClassLoader classLoader, MethodLookup.LookupMethodVisitor methodVisitor)
Copyright © 2012–2017 SonarSource. All rights reserved.