• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.bytecode/src/org/graalvm/compiler/bytecode/

Lines Matching defs:bridge

38  * bridge methods where the bridged methods have method annotations or parameter annotations. Not
39 * all Java compilers copy method annotations and parameter annotations to bridge methods.
48 * Gets the method bridged to by a {@linkplain ResolvedJavaMethod#isBridge() bridge} method. The
50 * {@code bridge}.
52 * @param bridge a bridge method
53 * @return the method called by {@code bridge} whose name is the same as
54 * {@code bridge.getName()}
56 public static ResolvedJavaMethod getBridgedMethod(ResolvedJavaMethod bridge) {
57 assert bridge.isBridge();
58 Bytecode code = new ResolvedJavaMethodBytecode(bridge);
73 if (method.getName().equals(bridge.getName())) {
77 assert bridged == null || bridged.equals(method) : String.format("Found calls to different methods named %s in bridge method %s%n callee 1: %s%n callee 2: %s",
78 bridge.getName(), bridge.format("%R %H.%n(%P)"), bridged.format("%R %H.%n(%P)"), method.format("%R %H.%n(%P)"));
96 String dis = new BytecodeDisassembler().disassemble(bridge);
97 throw new InternalError(String.format("Couldn't find method bridged by %s:%n%s", bridge.format("%R %H.%n(%P)"), dis));
111 * annotations on bridge methods where the bridged method has annotations.
126 * annotations on bridge methods where the bridged method has annotations.
141 * annotations on bridge methods where the bridged method has annotations.
156 * parameter annotations on bridge methods where the bridged method has parameter annotations.
171 * absence of parameter annotations on bridge methods where the bridged method has parameter