/external/proguard/src/proguard/classfile/visitor/ |
ExceptionOffsetFilter.java | 57 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) 61 exceptionInfoVisitor.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo);
|
ExceptionRangeFilter.java | 61 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) 65 exceptionInfoVisitor.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo);
|
/external/proguard/src/proguard/optimize/info/ |
ExceptionInstructionChecker.java | 50 public boolean mayThrowExceptions(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) 54 instruction.accept(clazz, method, codeAttribute, offset, this); 62 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 65 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 103 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 130 // // Check if the invoking the method may throw an exception [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
WebCoreObjCExtras.mm | 46 // This method relies on threading being initialized by the caller, otherwise 56 static inline IMP method_getImplementation(Method method) 58 return method->method_imp; 68 Method method = class_getInstanceMethod(pair->first, @selector(dealloc)); 70 IMP imp = method_getImplementation(method);
|
/external/webkit/Source/WebKit/mac/Misc/ |
WebNSObjectExtras.h | 47 static inline IMP method_setImplementation(Method m, IMP i)
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOM4JTestDocumentBuilderFactory.java | 27 import java.lang.reflect.Method; 44 private final Method readMethod; 71 Method getInstance = domFactoryClass.getMethod("getInstance", new Class[] {}); 79 Method getReaderMethod = saxReaderClass.getMethod("getXMLReader",
|
LSDocumentBuilderFactory.java | 16 import java.lang.reflect.Method; 33 private final Method parseURIMethod; 136 Method domConfigMethod = parser.getClass().getMethod("getDomConfig", 139 Method setParameterMethod = domConfig.getClass().getMethod( 154 Method domConfigMethod = parser.getClass().getMethod("getDomConfig", 157 Method getParameterMethod = domConfig.getClass().getMethod("getParameter", 275 Method newInstanceMethod = domImplRegistryClass.getMethod("newInstance", (Class<?>) null); 277 Method getDOMImplementationMethod = domImplRegistryClass.getMethod( 281 Method createLSParserMethod = impl.getClass().getMethod("createLSParser",
|
/libcore/support/src/test/java/tests/io/ |
MockOs.java | 21 import java.lang.reflect.Method; 46 @Override public Object invoke(Object o, Method method, Object[] args) throws Throwable { 48 return method.invoke(delegate, args); 56 @Override public Object invoke(Object proxy, Method method, Object[] args) 58 InvocationHandler handler = getHandlers(method.getName()).poll(); 62 return handler.invoke(proxy, method, args); 115 @Override public Object invoke(Object proxy, Method method, Object[] args) throws ErrnoException [all...] |
/external/javassist/src/main/javassist/tools/reflect/ |
ClassMetaobject.java | 52 private Method[] methods; 159 * This method simply returns the value of the field. 161 * <p>Every subclass of this class should redefine this method. 179 * This method simply sets the field to the given value. 181 * <p>Every subclass of this class should redefine this method. 197 * Invokes a method whose name begins with 205 Method[] allmethods = target.getClass().getMethods(); 219 throw new CannotInvokeException("cannot find a method"); 225 * This method simply executes the intercepted method invocatio [all...] |
/external/proguard/src/proguard/classfile/attribute/visitor/ |
StackSizeComputer.java | 97 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 101 // method.getName(clazz).equals("abc"); 104 // Catch any unexpected exceptions from the actual visiting method. 108 visitCodeAttribute0(clazz, method, codeAttribute); 114 System.err.println(" Method = ["+method.getName(clazz)+method.getDescriptor(clazz)+"]"); 119 method.accept(clazz, new ClassPrinter()); 127 public void visitCodeAttribute0(Clazz clazz, Method method, CodeAttribute codeAttribute [all...] |
/libcore/luni/src/main/java/java/lang/reflect/ |
Constructor.java | 105 Object[] annotation = Method.getSignatureAnnotation(declaringClass, slot); 203 return Method.getDeclaredAnnotations(declaringClass, slot); 210 return Method.getAnnotation(declaringClass, slot, annotationType); 217 return Method.isAnnotationPresent(declaringClass, slot, annotationType); 230 = Method.getParameterAnnotations(declaringClass, slot); 232 return Method.noAnnotations(parameterTypes.length); 245 int mods = Method.getMethodModifiers(declaringClass, slot); 257 int mods = Method.getMethodModifiers(declaringClass, slot); 312 return Method.getMethodModifiers(declaringClass, slot); 357 * equal return the same value for this method. The hash code for [all...] |
Method.java | 44 * This class represents a method. Information about the method can be accessed, 45 * and the method can be invoked dynamically. 47 public final class Method extends AccessibleObject implements GenericDeclaration, Member { 54 public static final Comparator<Method> ORDER_BY_SIGNATURE = new Comparator<Method>() { 55 public int compare(Method a, Method b) { 95 private TypeVariable<Method>[] formalTypeParameters; 117 /*package*/ Method(Method orig) [all...] |
/external/proguard/src/proguard/classfile/io/ |
ProgramClassWriter.java | 137 // Write the general method information. 142 // Write the method attributes. 248 // accept method with two dummy null arguments never throws 337 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute) 349 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 363 codeAttribute.exceptionsAccept(clazz, method, this); 368 codeAttribute.attributesAccept(clazz, method, ProgramClassWriter.this); 372 public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute [all...] |
/external/littlemock/src/com/google/testing/littlemock/ |
LittleMock.java | 24 import java.lang.reflect.Method; 66 * <p>You can verify in the 'natural place', after the method call has happened, like this: 69 * assertEquals(null, mockFoo.aString(6)); // Unstubbed method calls return a sensible default. 86 * <li>Which also leads to less fragile tests, where adding another method call on your 88 * <li>Simpler sharing of common setup method with specific tests overridding individual 91 * <li>More unified syntax that doesn't require special case for differences between void method 92 * calls and method calls that return a value.</li> 119 @Override public T doAction(Method method, Object[] args) { return result; } 132 public T doAction(Method method, Object[] args) throws Throwable { return callable.call(); [all...] |
/external/proguard/src/proguard/classfile/editor/ |
AttributeAdder.java | 141 // TODO: Implement method. 219 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute) 234 // Add it to the target method. 239 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 263 method, 272 method, 280 method, 288 (Method)targetMember [all...] |
/external/proguard/src/proguard/obfuscate/ |
Utf8UsageMarker.java | 181 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute) 187 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 192 codeAttribute.attributesAccept(clazz, method, this); 196 public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute) 202 public void visitStackMapTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapTableAttribute stackMapTableAttribute) 208 public void visitLineNumberTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberTableAttribute lineNumberTableAttribute [all...] |
/frameworks/base/tools/aidl/ |
generate_java_rpc.cpp | 91 void AddMethod(const method_type* method); 94 Method* processMethod; 124 this->processMethod = new Method; 153 DispatcherClass::AddMethod(const method_type* method) 159 ifs->expression = new MethodCall(new StringLiteralExpression(method->name.data), "equals", 171 MethodCall* realCall = new MethodCall(this->targetExpression, method->name.data); 176 arg = method->args; 200 // Add that parameter to the method call 210 Type* returnType = NAMES.Search(method->type.type.data); 222 method->type.dimension) [all...] |
/external/proguard/src/proguard/shrink/ |
UsageMarker.java | 110 // Explicitly mark the <clinit> method. 115 // Explicitly mark the parameterless <init> method. 198 // Has the method already been referenced? 218 // Has the method already been referenced? 223 // Mark the method body. 226 // Note that, if the method has been marked as possibly used, 227 // the method hierarchy has already been marked (cfr. below). 263 // Is the method's class used? 268 // Mark the method body. 271 // Mark the method hierarchy [all...] |
/cts/tools/signature-tools/src/signature/model/impl/ |
Uninitialized.java | 20 import java.lang.reflect.Method; 48 public Object invoke(Object proxy, Method method, Object[] args) 50 if (method.getName().equals("toString")) {
|
/dalvik/tests/044-proxy/src/ |
Clash4.java | 19 import java.lang.reflect.Method; 72 public Object invoke(Object proxy, Method method, Object[] args)
|
/dalvik/vm/compiler/codegen/arm/ |
CalloutHelper.h | 84 const Method *dvmJitToPatchPredictedChain(const Method *method, 95 * INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, 96 * u4 methodIdx, const Method* method, DvmDex* methodClassDex)
|
/dalvik/vm/mterp/x86-atom/ |
OP_THROW_VERIFICATION_ERROR.S | 32 movl offGlue_method(%edx), %ecx # %ecx<- glue->method 37 movl %ecx, -12(%esp) # push parameter glue->method 39 call dvmThrowVerificationError # call: (const Method* method, int kind, int ref)
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
TestsForMapsInJavaUtil.java | 26 import java.lang.reflect.Method; 63 protected Collection<Method> suppressForEmptyMap() { 66 protected Collection<Method> suppressForSingletonMap() { 69 protected Collection<Method> suppressForHashMap() { 72 protected Collection<Method> suppressForLinkedHashMap() { 75 protected Collection<Method> suppressForTreeMap() { 78 protected Collection<Method> suppressForEnumMap() { 81 protected Collection<Method> suppressForConcurrentHashMap() {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
CollectionCreationTester.java | 26 import java.lang.reflect.Method; 30 * static factory method) of a collection. Can't be invoked directly; please see 59 * Returns the {@link Method} instance for {@link 65 public static Method getCreateWithNullUnsupportedMethod() {
|
SetAddTester.java | 26 import java.lang.reflect.Method; 55 * Returns the {@link Method} instance for 59 public static Method getAddSupportedNullPresentMethod() {
|