HomeSort by relevance Sort by last modified time
    Searched refs:MethodId (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /libcore/dex/src/main/java/com/android/dex/
MethodId.java 21 public final class MethodId implements Comparable<MethodId> {
27 public MethodId(Dex dex, int declaringClassIndex, int protoIndex, int nameIndex) {
46 public int compareTo(MethodId other) {
  /external/dexmaker/src/main/java/com/google/dexmaker/
MethodId.java 31 public final class MethodId<D, R> {
41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) {
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);
TypeId.java 124 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));
DexMaker.java 125 * <p>We look up the {@code MethodId} for the method on the declaring type. This
132 * MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT);
252 public Code declare(MethodId<?, ?> method, int flags) {
343 Set<MethodId> methodSet = decl.methods.keySet();
454 private final Map<MethodId, MethodDeclaration> methods
455 = new LinkedHashMap<MethodId, MethodDeclaration>();
520 final MethodId<?, ?> method;
524 public MethodDeclaration(MethodId<?, ?> method, int flags) {
Code.java 179 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,
    [all...]
  /external/dexmaker/src/test/java/com/google/dexmaker/examples/
HelloWorldMaker.java 24 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(
FibonacciMaker.java 25 import com.google.dexmaker.MethodId;
39 MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT);
  /art/compiler/driver/
dex_compilation_unit.h 72 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_);
77 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_);
  /dalvik/dx/src/com/android/dx/command/grep/
Grep.java 23 import com.android.dex.MethodId;
78 MethodId methodId = dex.methodIds().get(currentMethod.getMethodIndex());
79 return className + "." + dex.strings().get(methodId.getNameIndex());
  /external/dexmaker/src/main/java/com/google/dexmaker/stock/
ProxyBuilder.java 25 import com.google.dexmaker.MethodId;
366 MethodId<InvocationHandler, Object> methodInvoke = handlerType.getMethod(TypeId.OBJECT,
421 MethodId<T, ?> superMethod = superclassType.getMethod(resultType, name, argTypes);
422 MethodId<?, ?> methodId = generatedType.getMethod(resultType, name, argTypes);
423 Code code = dexMaker.declare(methodId, PUBLIC);
493 MethodId<G, ?> callsSuperMethod = generatedType.getMethod(
513 private static void invokeSuper(MethodId superMethod, Code superCode,
519 MethodId<?, ?> unboxMethod = PRIMITIVE_TYPE_TO_UNBOX_METHOD.get(parameter.getType());
568 MethodId<?, ?> method = generatedType.getConstructor(types)
    [all...]