/external/guava/guava/src/com/google/common/io/ |
Closer.java | 27 import java.lang.reflect.Method; 77 * <p>An exception that is suppressed is not thrown. The method of suppression used depends on the 136 * exception types your try block can throw when calling an overload of this method so as to avoid 139 * <p>This method always throws, and as such should be called as 142 * @return this method does not return; it always throws 157 * overload of this method so as to avoid losing the original exception type. 159 * <p>This method always throws, and as such should be called as 162 * @return this method does not return; it always throws 180 * when calling an overload of this method so as to avoid losing the original exception type. 182 * <p>This method always throws, and as such should be called a [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
MapEntrySetTester.java | 35 import java.lang.reflect.Method; 103 public static Method getContainsEntryWithIncomparableKeyMethod() { 108 public static Method getContainsEntryWithIncomparableValueMethod() {
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
CheckedProviderMethod.java | 34 import java.lang.reflect.Method; 39 * A provider that invokes a method and returns its result. 47 private final Method method; field in class:CheckedProviderMethod 57 Method method, 69 this.method = method; 71 this.exposed = method.isAnnotationPresent(Exposed.class); 76 method.setAccessible(true) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
NamePrepTransform.java | 12 import java.lang.reflect.Method; 178 private Method translitMethod; 188 Method createMethod = cls.getMethod("createFromRules", String.class, String.class, Integer.TYPE);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
NamePrepTransform.java | 11 import java.lang.reflect.Method; 177 private Method translitMethod; 187 Method createMethod = cls.getMethod("createFromRules", String.class, String.class, Integer.TYPE);
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/ |
ImmutableBean.java | 19 import java.lang.reflect.Method; 93 Method[] getters = ReflectUtils.getPropertyMethods(descriptors, true, false); 94 Method[] setters = ReflectUtils.getPropertyMethods(descriptors, false, true);
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/ |
AddDelegateTransformer.java | 62 Method[] methods = delegateIf[i].getMethods(); 96 private void addDelegate(Method m) { 97 Method delegate;
|
/external/mockito/src/org/mockito/internal/creation/jmock/ |
ClassImposterizer.java | 17 import java.lang.reflect.Method;
46 public int accept(Method method, List<Method> allMethods) {
47 return method.isBridge() ? 1 : 0;
|
/external/proguard/src/proguard/classfile/editor/ |
VariableCleaner.java | 50 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 56 codeAttribute.attributesAccept(clazz, method, this); 63 (ProgramMember)method, 75 (ProgramMember)method, 84 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute) 105 public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute)
|
/external/proguard/src/proguard/optimize/peephole/ |
GotoCommonCodeReplacer.java | 72 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 76 // method.getName(clazz).equals("abc"); 79 branchTargetFinder.visitCodeAttribute(clazz, method, codeAttribute); 85 codeAttribute.instructionsAccept(clazz, method, this); 88 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute); 94 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 97 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction [all...] |
/external/sl4a/Utils/src/com/googlecode/android_scripting/ |
FileUtils.java | 31 import java.lang.reflect.Method; 52 Method setPermissions = 133 Method m = c.getDeclaredMethod("getExternalStoragePublicDirectory", String.class);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
DumpVtables.java | 40 import org.jf.dexlib2.iface.Method; 119 List<Method> methods = classProto.getVtable(); 123 Method method = methods.get(i); local 125 String methodString = i + ":" + method.getDefiningClass() + "->" + method.getName() + "("; 126 for (CharSequence parameter: method.getParameterTypes()) { 129 methodString += ")" + method.getReturnType() + "\n";
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
SyntheticAccessorResolver.java | 40 import org.jf.dexlib2.iface.Method; 53 public static final int METHOD = 0; 106 Method matchedMethod = null; 108 for (Method method: classDef.getMethods()) { 109 MethodImplementation methodImpl = method.getImplementation(); 111 if (methodReferenceEquals(method, methodReference)) { 112 matchedMethod = method;
|
/external/testng/src/main/java/org/testng/internal/ |
Parameters.java | 6 import java.lang.reflect.Method; 61 * Creates the parameters needed for the specified <tt>@Configuration</tt> <code>Method</code>. 63 * @param m the configuraton method 64 * @param currentTestMethod the current @Test method or <code>null</code> if no @Test is available (this is not 65 * only in case the configuration method is a @Before/@AfterMethod 68 public static Object[] createConfigurationParameters(Method m, 77 Method currentTestMeth= currentTestMethod != null ? 94 public static Object getInjectedParameter(Class<?> c, Method method, ITestContext context, 97 if (Method.class.equals(c)) [all...] |
MethodInvocationHelper.java | 24 import java.lang.reflect.Method;
40 protected static Object invokeMethod(Method thisMethod, Object instance, Object[] parameters)
46 // method's class
48 // for some reason, we can't call this method on this class
52 // not static, so grab a method with the same name and signature in this case
57 // ignore, the method may be private
71 throw new RuntimeException("Can't invoke method " + thisMethod
74 throw new RuntimeException("Can't invoke method " + thisMethod
89 protected static Iterator<Object[]> invokeDataProvider(Object instance, Method dataProvider,
90 ITestNGMethod method, ITestContext testContext, Object fedInstance, [all...] |
XmlMethodSelector.java | 3 import java.lang.reflect.Method; 22 * This class is the default method selector used by TestNG to determine 46 // ppp("XML METHOD SELECTOR " + tm + " " + m_isInitialized); 66 Method m = tm.getMethod(); 79 // If we don't include or exclude any methods, method is in 85 // If it's a configuration method and no groups were requested, we want it in 93 // Is this method included implicitly? 104 // Only add this method if it belongs to an included group and not 124 // Now filter by method name 126 Method method = tm.getMethod() local [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
CompareActivity.java | 20 import java.lang.reflect.Method; 92 Method getHardwareLayer = View.class.getDeclaredMethod("getHardwareLayer"); 100 Method copyInto = hardwareLayer.getClass()
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
DelegateClassAdapterTest.java | 44 import java.lang.reflect.Method; 83 // This is expected to fail since the native method is not implemented. 86 // Now process it but tell the delegate to not modify any method 113 // This is expected to fail since the native method has NOT been 118 // Check that the native method does NOT have the new annotation 119 Method[] m = clazz2.getDeclaredMethods(); 120 Method nativeInstanceMethod = null; 121 for (Method method : m) { 122 if ("native_instance".equals(method.getName())) [all...] |
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/ |
MediaRouterJellybeanMr1.java | 28 import java.lang.reflect.Method; 70 private Method mScanWifiDisplaysMethod; 91 // See also the JellybeanMr2Impl implementation of this method. 101 + "DisplayManager.scanWifiDisplays() method is " 129 * Workaround the fact that the isConnecting() method does not exist in JB MR1. 133 private Method mGetStatusCodeMethod;
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
MethodHandles.java | 31 import java.lang.reflect.Method; 79 public MethodHandle unreflect(Method m) throws IllegalAccessException { return null; } 81 public MethodHandle unreflectSpecial(Method m, Class<?> specialCaller) throws IllegalAccessException { return null; }
|
/art/test/432-optimizing-cmp/src/ |
Main.java | 17 import java.lang.reflect.Method; 161 Method m = c.getMethod("$opt$CmpLong", long.class, long.class); 168 Method m = c.getMethod("$opt$CmpGtFloat", float.class, float.class); 175 Method m = c.getMethod("$opt$CmpLtFloat", float.class, float.class); 182 Method m = c.getMethod("$opt$CmpGtDouble", double.class, double.class); 189 Method m = c.getMethod("$opt$CmpLtDouble", double.class, double.class);
|
/external/guice/core/src/com/google/inject/internal/ |
Annotations.java | 41 import java.lang.reflect.Method; 65 for (Method m : annotationType.getDeclaredMethods()) { 100 public Object invoke(Object proxy, Method method, Object[] args) throws Exception { 101 String name = method.getName(); 120 for (Method method : annotationType.getDeclaredMethods()) { 121 result.put(method.getName(), method.getDefaultValue()); 132 for (Method method : type.getDeclaredMethods()) [all...] |
/art/test/021-string2/src/ |
Main.java | 18 import java.lang.reflect.Method; 89 Method fromUTF8ByteArray = Strings.getDeclaredMethod("fromUTF8ByteArray", byte[].class);
|
/art/test/068-classloader/src/ |
FancyLoader.java | 22 import java.lang.reflect.Method; 111 Method meth; 205 * 3. Invoke the findClass(String) method to find the class. 217 * 2. Invoke the loadClass method on the parent class loader. If 222 * parent's loadClass() method, but we passed our parent to the
|
/art/test/138-duplicate-classes-check2/src/ |
FancyLoader.java | 22 import java.lang.reflect.Method; 112 Method meth; 206 * 3. Invoke the findClass(String) method to find the class. 218 * 2. Invoke the loadClass method on the parent class loader. If 223 * parent's loadClass() method, but we passed our parent to the
|