Searched refs:MethodId (Results 1 - 12 of 12) sorted by relevance

/external/dexmaker/src/main/java/com/google/dexmaker/
H A DMethodId.java31 public final class MethodId<D, R> { class
41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) { method in class:MethodId
101 return o instanceof MethodId
102 && ((MethodId<?, ?>) o).declaringType.equals(declaringType)
103 && ((MethodId<?, ?>) o).name.equals(name)
104 && ((MethodId<?, ?>) o).parameters.equals(parameters)
105 && ((MethodId<?, ?>) o).returnType.equals(returnType);
H A DTypeId.java124 public MethodId<T, Void> getConstructor(TypeId<?>... parameters) {
125 return new MethodId<T, Void>(this, VOID, "<init>", new TypeList(parameters));
128 public <R> MethodId<T, R> getMethod(TypeId<R> returnType, String name, TypeId<?>... parameters) {
129 return new MethodId<T, R>(this, returnType, name, new TypeList(parameters));
H A DDexMaker.java121 * <p>We look up the {@code MethodId} for the method on the declaring type. This
128 * MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT);
248 public Code declare(MethodId<?, ?> method, int flags) {
410 private final Map<MethodId, MethodDeclaration> methods
411 = new LinkedHashMap<MethodId, MethodDeclaration>();
476 final MethodId<?, ?> method;
480 public MethodDeclaration(MethodId<?, ?> method, int flags) {
H A DCode.java179 private final MethodId<?, ?> method;
615 public <T> void newInstance(Local<T> target, MethodId<T, Void> constructor, Local<?>... args) {
632 public <R> void invokeStatic(MethodId<?, R> method, Local<? super R> target, Local<?>... args) {
645 public <D, R> void invokeVirtual(MethodId<D, R> method, Local<? super R> target,
659 public <D, R> void invokeDirect(MethodId<D, R> method, Local<? super R> target,
671 public <D, R> void invokeSuper(MethodId<D, R> method, Local<? super R> target,
684 public <D, R> void invokeInterface(MethodId<D, R> method, Local<? super R> target,
689 private <D, R> void invoke(Rop rop, MethodId<D, R> method, Local<? super R> target,
/external/dexmaker/src/test/java/com/google/dexmaker/examples/
H A DHelloWorldMaker.java24 import com.google.dexmaker.MethodId;
66 MethodId hello = declaringType.getMethod(TypeId.VOID, "hello");
89 MethodId<Integer, String> toHexString
96 MethodId<PrintStream, Void> printlnMethod = printStreamType.getMethod(
H A DFibonacciMaker.java25 import com.google.dexmaker.MethodId;
39 MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT);
/external/dexmaker/src/test/java/com/google/dexmaker/
H A DDexMakerTest.java55 private static MethodId<Callable, Object> CALL = CALLABLE.getMethod(TypeId.OBJECT, "call");
79 MethodId<?, Constructable> methodId = GENERATED.getMethod(
84 MethodId<Constructable, Void> constructor
109 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call");
128 MethodId<?, Integer> methodId = GENERATED.getMethod(TypeId.INT, "call", TypeId.INT);
132 MethodId<?, Integer> staticMethod
146 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call", TypeId.INT);
173 MethodId<?, Integer> methodId = GENERATED.getMethod(TypeId.INT, "call", TEST_TYPE, TypeId.INT);
178 MethodId<DexMakerTest, Integer> virtualMethod
204 MethodId<
[all...]
/external/dexmaker/src/main/java/com/google/dexmaker/stock/
H A DProxyBuilder.java25 import com.google.dexmaker.MethodId;
360 MethodId<InvocationHandler, Object> methodInvoke = handlerType.getMethod(TypeId.OBJECT,
415 MethodId<T, ?> superMethod = superclassType.getMethod(resultType, name, argTypes);
416 MethodId<?, ?> methodId = generatedType.getMethod(resultType, name, argTypes);
487 MethodId<G, ?> callsSuperMethod = generatedType.getMethod(
507 private static void invokeSuper(MethodId superMethod, Code superCode,
513 MethodId<?, ?> unboxMethod = PRIMITIVE_TYPE_TO_UNBOX_METHOD.get(parameter.getType());
562 MethodId<?, ?> method = generatedType.getConstructor(types);
569 MethodId<T, ?> superConstructor = superType.getConstructor(types);
670 MethodId unboxingMethodFo
[all...]
/external/chromium_org/base/android/
H A Djni_android_unittest.cc34 TEST(JNIAndroidMicrobenchmark, MethodId) {
/external/lzma/CPP/7zip/Bundles/Format7zExtractR/
H A Dmakefile29 $O\MethodId.obj \
/external/lzma/CPP/7zip/Bundles/Format7zR/
H A Dmakefile32 $O\MethodId.obj \
/external/lzma/CPP/7zip/Bundles/Alone7z/
H A Dmakefile61 $O\MethodId.obj \

Completed in 233 milliseconds