/external/proguard/src/proguard/optimize/info/ |
CatchExceptionMarker.java | 42 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 46 markCatchException(method); 53 private static void markCatchException(Method method) 55 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); 63 public static boolean catchesExceptions(Method method) 65 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/ |
ClassDef.java | 86 * for sections of an individual method with the SetSourceFile debug item. 122 * This is a convenience method that combines getStaticFields() and getInstanceFields() 141 @Nonnull Iterable<? extends Method> getDirectMethods(); 150 @Nonnull Iterable<? extends Method> getVirtualMethods(); 155 * This is a convenience method that combines getDirectMethods() and getVirtualMethods(). 165 @Nonnull Iterable<? extends Method> getMethods();
|
/external/testng/src/test/java/test/annotationtransformer/ |
MyParamTransformer.java | 7 import java.lang.reflect.Method; 15 Constructor testConstructor, Method testMethod) { 21 public static boolean onlyOneNonNull(Class testClass, Constructor testConstructor, Method testMethod) {
|
/external/testng/src/test/java/test/configuration/ |
BeforeMethodTest.java | 9 import java.lang.reflect.Method; 12 private Method m_method; 16 public void before(Method m, ITestContext ctx) {
|
/external/testng/src/test/java/test/inject/ |
InjectAfterMethodWithTestResultSampleTest.java | 10 import java.lang.reflect.Method; 34 public void before(Method m, ITestResult r) { 39 public void after(Method m, ITestResult r) {
|
InjectBeforeMethodTest.java | 9 import java.lang.reflect.Method; 26 public void before2(Object[] parameters, Method m) { 30 public void before3(Method m, Object[] parameters) {
|
/frameworks/base/tools/aapt2/compile/ |
Pseudolocalizer.h | 40 enum class Method { 46 Pseudolocalizer(Method method); 47 void setMethod(Method method);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
MockAnswerUtil.java | 23 import java.lang.reflect.Method; 32 * Answer that calls the method in the Answer called "answer" that matches the type signature of 33 * the method being answered. An error will be thrown at runtime if the signature does not match 39 Method method = invocation.getMethod(); local 41 Method implementation = getClass().getMethod("answer", method.getParameterTypes()); 42 if (!implementation.getReturnType().equals(method.getReturnType())) { 43 throw new RuntimeException("Found answer method does not have expected return " 44 + "type. Expected: " + method.getReturnType() + ", got [all...] |
WifiTestUtil.java | 20 import java.lang.reflect.Method; 28 * Walk up the stack and find the first method annotated with @Test 29 * Note: this will evaluate all overloads with the method name for the @Test annotation 43 Method[] methods = clazz.getDeclaredMethods(); 44 for (Method method : methods) { 45 if (method.getName().equals(e.getMethodName())) { 46 Annotation[] annotations = method.getDeclaredAnnotations(); 55 throw new RuntimeException("Could not find a test method in the stack");
|
/frameworks/support/v4/gingerbread/android/support/v4/widget/ |
PopupWindowCompatGingerbread.java | 21 import java.lang.reflect.Method; 28 private static Method sSetWindowLayoutTypeMethod; 30 private static Method sGetWindowLayoutTypeMethod; 40 // Reflection method fetch failed. Oh well. 61 // Reflection method fetch failed. Oh well.
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
WildcardTypeTest.java | 20 import java.lang.reflect.Method; 55 * @param method the declaring method 57 private void checkBoundedTypeParameter(Method method) { 58 TypeVariable<Method> typeParameter = getTypeParameter(method); 60 assertEquals(method, typeParameter.getGenericDeclaration()); 68 private void checkLowerBoundedParameter(Method method) { 125 Method method = clazz.getMethod("upperBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local 131 Method method = clazz.getMethod("lowerBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 138 Method method = clazz.getMethod("upperBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 145 Method method = clazz.getMethod("lowerBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local [all...] |
/libcore/luni/src/test/java/libcore/java/lang/annotation/ |
AnnotationTypeMismatchExceptionTest.java | 23 import java.lang.reflect.Method; 27 Method m = String.class.getMethod("length"); 34 Method m = String.class.getMethod("length"); 40 // non-serializable field of type Method.
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/util/ |
SystemPropertiesProxy.java | 22 import java.lang.reflect.Method; 36 Method getBooleanMethod = SystemPropertiesClass.getDeclaredMethod("getBoolean", 51 Method getIntMethod = SystemPropertiesClass.getDeclaredMethod("getInt",
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
InputMethodManagerCompatWrapper.java | 23 import java.lang.reflect.Method; 28 private static final Method METHOD_switchToNextInputMethod = CompatUtils.getMethod( 33 private static final Method METHOD_shouldOfferSwitchingToNextInputMethod =
|
NotificationCompatUtils.java | 23 import java.lang.reflect.Method; 27 private static final Method METHOD_setColor = 29 private static final Method METHOD_setVisibility = 31 private static final Method METHOD_setCategory = 33 private static final Method METHOD_setPriority = 35 private static final Method METHOD_build =
|
/art/test/563-checker-fakestring/src/ |
Main.java | 17 import java.lang.reflect.Method; 39 Method m = c.getMethod("vregAliasing", byte[].class); 49 Method m = c.getMethod("deoptimizeNewInstance", int[].class, byte[].class); 62 Method m = c.getMethod("removeNewInstance", byte[].class); 68 Method m = c.getMethod("thisNotNewInstance1", byte[].class, boolean.class); 75 Method m = c.getMethod("thisNotNewInstance2", byte[].class, boolean.class);
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
CallbackHelper.java | 18 import java.lang.reflect.Method; 38 Method method = (Method)methods.get(i); local 39 Object callback = getCallback(method); 46 throw new IllegalStateException("getCallback must return a Callback or a Class consistently for every Method"); 52 methodMap.put(method, index); 57 abstract protected Object getCallback(Method method); 81 public int accept(Method method, List<Method> allMethods [all...] |
/art/test/032-concrete-sub/src/ |
ConcreteSub.java | 17 import java.lang.reflect.Method; 20 * Test insertion of an abstract method in a superclass. 41 Method meth;
|
/art/test/085-old-style-inner-class/src/ |
Main.java | 17 import java.lang.reflect.Method; 37 private static String nameOf(Method meth) {
|
/art/test/138-duplicate-classes-check/src/ |
Main.java | 19 import java.lang.reflect.Method; 42 Method test = testEx.getDeclaredMethod("test");
|
/art/test/503-dead-instructions/src/ |
Main.java | 17 import java.lang.reflect.Method; 24 Method m = c.getMethod("method1");
|
/art/test/530-checker-regression-reftype-final/src/ |
Main.java | 17 import java.lang.reflect.Method; 56 Method m = c.getMethod("testInliner");
|
/art/test/543-env-long-ref/src/ |
Main.java | 17 import java.lang.reflect.Method; 26 Method m = c.getMethod("testCase");
|
/art/test/550-checker-regression-wide-store/src/ |
Main.java | 17 import java.lang.reflect.Method; 26 Method m = c.getMethod(name, long.class);
|
/art/test/552-checker-primitive-typeprop/src/ |
Main.java | 17 import java.lang.reflect.Method; 32 Method m = c.getMethod("environmentPhi", new Class[] { boolean.class, int[].class });
|