HomeSort by relevance Sort by last modified time
    Searched refs:Method (Results 401 - 425 of 1620) sorted by null

<<11121314151617181920>>

  /external/jetty/src/java/org/eclipse/jetty/util/
IntrospectionUtil.java 23 import java.lang.reflect.Method;
36 public static boolean isJavaBeanCompliantSetter (Method method)
38 if (method == null)
41 if (method.getReturnType() != Void.TYPE)
44 if (!method.getName().startsWith("set"))
47 if (method.getParameterTypes().length != 1)
53 public static Method findMethod (Class<?> clazz, String methodName, Class<?>[] args, boolean checkInheritance, boolean strictArgs)
59 throw new NoSuchMethodException("No method name");
61 Method method = null local
262 Method method = null; local
    [all...]
  /external/junit/src/org/junit/runners/model/
NoGenericTypeParametersValidator.java 4 import java.lang.reflect.Method;
12 private final Method fMethod;
14 NoGenericTypeParametersValidator(Method method) {
15 this.fMethod = method;
25 errors.add(new Exception("Method " + fMethod.getName()
  /external/mockito/src/org/mockito/internal/stubbing/answers/
MethodInfo.java 10 import java.lang.reflect.Method;
17 private Method method; field in class:MethodInfo
20 this.method = theInvocation.getMethod();
24 Class<?>[] exceptions = method.getExceptionTypes();
36 if (method.getReturnType().isPrimitive() || clazz.isPrimitive()) {
37 return Primitives.primitiveTypeOf(clazz) == Primitives.primitiveTypeOf(method.getReturnType());
39 return method.getReturnType().isAssignableFrom(clazz);
44 return this.method.getReturnType() == Void.TYPE;
48 return method.getReturnType().getSimpleName()
    [all...]
  /external/proguard/src/proguard/classfile/attribute/annotation/visitor/
AnnotationTypeFilter.java 77 public void visitAnnotation(Clazz clazz, Method method, Annotation annotation)
81 annotationVisitor.visitAnnotation(clazz, method, annotation);
86 public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation)
90 annotationVisitor.visitAnnotation(clazz, method, parameterIndex, annotation);
95 public void visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation)
99 annotationVisitor.visitAnnotation(clazz, method, codeAttribute, annotation);
  /external/proguard/src/proguard/classfile/attribute/preverification/
ObjectType.java 63 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor)
65 verificationTypeVisitor.visitObjectType(clazz, method, codeAttribute, instructionOffset, this);
69 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor)
71 verificationTypeVisitor.visitStackObjectType(clazz, method, codeAttribute, instructionOffset, stackIndex, this);
75 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor)
77 verificationTypeVisitor.visitVariablesObjectType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
UninitializedType.java 62 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor)
64 verificationTypeVisitor.visitUninitializedType(clazz, method, codeAttribute, instructionOffset, this);
68 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor)
70 verificationTypeVisitor.visitStackUninitializedType(clazz, method, codeAttribute, instructionOffset, stackIndex, this);
74 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor)
76 verificationTypeVisitor.visitVariablesUninitializedType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
  /external/proguard/src/proguard/classfile/editor/
VariableSizeUpdater.java 57 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
61 // method.getName(clazz).equals("abc");
65 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz),
66 method.getAccessFlags());
70 System.out.println("VariableSizeUpdater: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz));
75 codeAttribute.instructionsAccept(clazz, method, this);
78 variableCleaner.visitCodeAttribute(clazz, method, codeAttribute);
84 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {
    [all...]
ConstantPoolShrinker.java 201 // Mark the bootstrap method entries.
255 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute)
260 methodParametersAttribute.parametersAccept(clazz, method, this);
264 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute)
273 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
279 codeAttribute.instructionsAccept(clazz, method, this);
280 codeAttribute.exceptionsAccept(clazz, method, this)
    [all...]
  /external/proguard/src/proguard/obfuscate/
ParameterNameMarker.java 58 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute)
61 hasParameters(clazz, method))
84 attributeUsageMarker.visitLocalVariableTableAttribute(clazz, method, codeAttribute, localVariableTableAttribute);
90 public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute)
93 hasParameters(clazz, method))
116 attributeUsageMarker.visitLocalVariableTypeTableAttribute(clazz, method, codeAttribute, localVariableTypeTableAttribute);
124 private boolean hasParameters(Clazz clazz, Method method)
    [all...]
  /external/proguard/src/proguard/optimize/info/
VariableUsageMarker.java 60 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
76 codeAttribute.instructionsAccept(clazz, method, this);
82 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
85 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction)
  /external/sl4a/Utils/src/com/googlecode/android_scripting/
ForegroundService.java 23 import java.lang.reflect.Method;
33 private Method mStartForeground;
34 private Method mStopForeground;
45 * This is a wrapper around the new startForeground method, using the older APIs if it is not
69 * This is a wrapper around the new stopForeground method, using the older APIs if it is not
  /external/testng/src/test/java/test/configuration/
ReflectMethodParametrizedConfigurationMethodTest.java 9 import java.lang.reflect.Method;
22 public void beforeMethod(Method tobeInvokedTestMethod) {
33 public void afterMethod(Method invokedTestMethod) {
39 Assert.assertTrue(m_before.containsKey("test1"), "@Test method should have been passed to @BeforeMethod");
40 Assert.assertTrue(m_before.containsKey("test2"), "@Test method should have been passed to @BeforeMethod");
41 Assert.assertTrue(m_after.containsKey("test1"), "@Test method should have been passed to @AfterMethod");
42 Assert.assertTrue(m_before.containsKey("test2"), "@Test method should have been passed to @AfterMethod");
  /external/testng/src/test/java/test/dataprovider/
MethodTest.java 7 import java.lang.reflect.Method;
12 public Object[][] createData(Method m) {
30 public Object[][] createData2(Method m) {
36 throw new RuntimeException("Received method " + m + ", expected test2 or test3");
  /external/testng/src/test/java/test/inject/
InjectBeforeAndAfterMethodsWithTestResultSampleTest.java 11 import java.lang.reflect.Method;
38 public void before(Method m, ITestResult r) {
44 public void after(Method m, ITestResult r) {
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
ReflectionUtils.java 23 import java.lang.reflect.Method;
31 public static Method getMethod(@NonNull Class<?> clazz, @NonNull String name,
41 public static Object invoke(@NonNull Method method, @Nullable Object object,
45 return method.invoke(object, args);
  /frameworks/support/v4/donut/android/support/v4/app/
BundleCompatDonut.java 24 import java.lang.reflect.Method;
32 private static Method sGetIBinderMethod;
35 private static Method sPutIBinderMethod;
44 Log.i(TAG, "Failed to retrieve getIBinder method", e);
68 Log.i(TAG, "Failed to retrieve putIBinder method", e);
  /frameworks/support/v4/ics/android/support/v4/text/
ICUCompatIcs.java 22 import java.lang.reflect.Method;
29 private static Method sGetScriptMethod;
30 private static Method sAddLikelySubtagsMethod;
  /frameworks/support/v4/jellybean-mr1/android/support/v4/graphics/drawable/
DrawableCompatJellybeanMr1.java 25 import java.lang.reflect.Method;
34 private static Method sSetLayoutDirectionMethod;
37 private static Method sGetLayoutDirectionMethod;
47 Log.i(TAG, "Failed to retrieve setLayoutDirection(int) method", e);
70 Log.i(TAG, "Failed to retrieve getLayoutDirection() method", e);
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ViewUtils.java 26 import java.lang.reflect.Method;
34 private static Method sComputeFitSystemWindowsMethod;
45 Log.d(TAG, "Could not find method computeFitSystemWindows. Oh well.");
69 * Allow calling the hidden method {@code computeFitSystemWindows(Rect, Rect)} through
83 * Allow calling the hidden method {@code makeOptionalFitsSystem()} through reflection on
90 // and ViewGroup implement the method
91 Method method = view.getClass().getMethod("makeOptionalFitsSystemWindows"); local
92 if (!method.isAccessible()) {
93 method.setAccessible(true)
    [all...]
  /libcore/luni/src/test/java/libcore/java/math/
RunCSVTestsStrict.java 3 import java.lang.reflect.Method;
27 Method m = mathClass.getMethod(func, new Class[] { Double.TYPE });
46 Method m;
  /libcore/ojluni/src/main/java/java/lang/reflect/
Method.java 38 * A {@code Method} provides information about, and access to, a single method
39 * on a class or interface. The reflected method may be a class method
40 * or an instance method (including an abstract method).
42 * <p>A {@code Method} permits widening conversions to occur when matching the
43 * actual parameters to invoke with the underlying method's formal
58 class Method extends AbstractMethod implements GenericDeclaration,
65 public static final Comparator<Method> ORDER_BY_SIGNATURE = new Comparator<Method>()
    [all...]
  /external/easymock/src/org/easymock/internal/
ObjectMethodsFilter.java 21 import java.lang.reflect.Method;
28 private transient Method equalsMethod;
30 private transient Method hashCodeMethod;
32 private transient Method toStringMethod;
54 throw new RuntimeException("An Object method could not be found!");
61 public final Object invoke(Object proxy, Method method, Object[] args)
63 if (equalsMethod.equals(method)) {
66 if (hashCodeMethod.equals(method)) {
69 if (toStringMethod.equals(method)) {
    [all...]
  /external/guava/guava-testlib/src/com/google/common/testing/
NullPointerTester.java 41 import java.lang.reflect.Method;
87 * Ignore {@code method} in the tests that follow. Returns this object.
91 public NullPointerTester ignore(Method method) {
92 ignoredMembers.add(checkNotNull(method));
117 * Runs {@link #testMethod} on every static method of class {@code c} that has
122 for (Method method : minimalVisibility.getStaticMethods(c)) {
123 if (!isIgnored(method)) {
124 testMethod(null, method);
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
SourceSinkTester.java 30 import java.lang.reflect.Method;
81 SourceSinkTester(F factory, T data, String suiteName, String caseDesc, Method method) {
82 super(method.getName());
113 static ImmutableList<Method> getTestMethods(Class<?> testClass) {
114 List<Method> result = Lists.newArrayList();
115 for (Method method : testClass.getDeclaredMethods()) {
116 if (Modifier.isPublic(method.getModifiers())
117 && method.getReturnType() == void.clas
    [all...]
  /external/guice/core/src/com/google/inject/internal/
InterceptorStackCallback.java 27 import java.lang.reflect.Method;
34 * Intercepts a method with a stack of interceptors.
45 final Method method; field in class:InterceptorStackCallback
47 public InterceptorStackCallback(Method method,
49 this.method = method;
53 public Object intercept(Object proxy, Method method, Object[] arguments
    [all...]

Completed in 1462 milliseconds

<<11121314151617181920>>