HomeSort by relevance Sort by last modified time
    Searched refs:Method (Results 176 - 200 of 778) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/proguard/src/proguard/classfile/attribute/visitor/
MultiAttributeVisitor.java 178 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute)
182 attributeVisitors[index].visitDeprecatedAttribute(clazz, method, deprecatedAttribute);
187 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute)
191 attributeVisitors[index].visitSyntheticAttribute(clazz, method, syntheticAttribute);
196 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute syntheticAttribute)
200 attributeVisitors[index].visitSignatureAttribute(clazz, method, syntheticAttribute);
214 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute
    [all...]
  /external/android-mock/src/com/google/android/testing/mocking/
AndroidMockGenerator.java 30 import java.lang.reflect.Method;
43 * The only public method of AndroidMockGenerator is createMocksForClass. See
44 * the javadocs for this method for more information about AndroidMockGenerator.
60 * {@link UsesMocks} annotation at either the Class or Method level. All
65 * a method to be mockable, it must be non-final and non-static, although this
68 * The class itself must be mockable, otherwise this method will ignore the
173 String getInterfaceMethodSource(Method method) throws UnsupportedOperationException {
174 StringBuilder methodBody = getMethodSignature(method);
179 private StringBuilder getMethodSignature(Method method)
    [all...]
  /external/clang/lib/CodeGen/
ModuleBuilder.cpp 86 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(*M))
87 if (Method->doesThisDeclarationHaveABody() &&
88 (Method->hasAttr<UsedAttr>() ||
89 Method->hasAttr<ConstructorAttr>()))
90 Builder->EmitTopLevelDecl(Method);
  /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/javassist/src/main/javassist/util/proxy/
SecurityActions.java 20 import java.lang.reflect.Method;
27 static Method[] getDeclaredMethods(final Class clazz) {
31 return (Method[]) AccessController
53 static Method getDeclaredMethod(final Class clazz, final String name,
59 return (Method) AccessController
  /external/jmdns/src/javax/jmdns/impl/
NetworkTopologyDiscoveryImpl.java 6 import java.lang.reflect.Method;
26 private final Method _isUp;
28 private final Method _supportsMulticast;
35 Method isUp;
39 // We do not want to throw anything if the method does not exist.
43 Method supportsMulticast;
47 // We do not want to throw anything if the method does not exist.
  /external/proguard/src/proguard/classfile/editor/
ConstantPoolRemapper.java 304 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute)
315 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
324 codeAttribute.instructionsAccept(clazz, method, this);
328 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute);
331 codeAttribute.exceptionsAccept(clazz, method, this);
332 codeAttribute.attributesAccept(clazz, method, this);
336 public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute
    [all...]
ClassEditor.java 188 * Adds the given method.
190 public void addMethod(Method method)
193 Method[] methods = targetClass.methods;
195 // Make sure there is enough space for the new method.
207 System.out.println(targetClass.getName()+": adding method ["+method.getName(targetClass)+method.getDescriptor(targetClass)+"]");
210 // Add the method.
211 methods[targetClass.u2methodsCount++] = method;
    [all...]
InstructionWriter.java 66 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction)
74 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
99 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction)
124 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
202 public void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
AnnotationTest.java 23 import java.lang.reflect.Method;
44 Method m1 = AnnotatedClass2.class
46 Method m2 = AnnotatedClass2.class
53 List<Method> methods = Arrays.asList(AnnotatedClass.class.getDeclaredMethods());
54 Map<String, List<Method>> eqs = new HashMap<String, List<Method>>();
55 Map<String, List<Method>> neqs = new HashMap<String, List<Method>>();
56 for (Method m : methods) {
59 Map<String, List<Method>> curT = name.charAt(0) == 'e'? eqs : neqs
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
TestsForListsInJavaUtil.java 26 import java.lang.reflect.Method;
65 protected Collection<Method> suppressForEmptyList() {
68 protected Collection<Method> suppressForSingletonList() {
71 protected Collection<Method> suppressForArraysAsList() {
74 protected Collection<Method> suppressForArrayList() {
77 protected Collection<Method> suppressForLinkedList() {
80 protected Collection<Method> suppressForCopyOnWriteArrayList() {
83 protected Collection<Method> suppressForUnmodifiableList() {
86 protected Collection<Method> suppressForCheckedList() {
89 protected Collection<Method> suppressForAbstractList()
    [all...]
TestsForQueuesInJavaUtil.java 25 import java.lang.reflect.Method;
59 protected Collection<Method> suppressForLinkedList() {
62 protected Collection<Method> suppressForArrayBlockingQueue() {
65 protected Collection<Method> suppressForConcurrentLinkedQueue() {
68 protected Collection<Method> suppressForLinkedBlockingQueue() {
71 protected Collection<Method> suppressForPriorityBlockingQueue() {
74 protected Collection<Method> suppressForPriorityQueue() {
  /external/chromium/base/memory/
scoped_callback_factory.h 34 // avoid calling the GotData method.
51 void (T::*method)()) {
53 weak_factory_.GetWeakPtr(), method);
58 void (T::*method)(Arg1)) {
60 weak_factory_.GetWeakPtr(), method);
65 void (T::*method)(Arg1, Arg2)) {
67 weak_factory_.GetWeakPtr(), method);
72 void (T::*method)(Arg1, Arg2, Arg3)) {
75 weak_factory_.GetWeakPtr(), method);
80 void (T::*method)(Arg1, Arg2, Arg3, Arg4))
    [all...]
  /external/clang/include/clang/AST/
CXXInheritance.h 233 /// \brief Uniquely identifies a virtual method within a class
234 /// hierarchy by the method itself and a class subobject number.
236 UniqueVirtualMethod() : Method(0), Subobject(0), InVirtualSubobject(0) { }
238 UniqueVirtualMethod(CXXMethodDecl *Method, unsigned Subobject,
240 : Method(Method), Subobject(Subobject),
243 /// \brief The overriding virtual method.
244 CXXMethodDecl *Method;
246 /// \brief The subobject in which the overriding virtual method
251 /// virtual method is a part. Note that this records the closes
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
SimpleTimeLimiter.java 28 import java.lang.reflect.Method;
40 * A TimeLimiter that runs method calls in the background using an
41 * {@link ExecutorService}. If the time limit expires for a given method call,
54 * execute proxied method calls.
59 * this case the call may even time out before the target method is ever
62 * @param executor the ExecutorService that will execute the method calls on
72 * Executors#newCachedThreadPool()} to execute proxied method calls.
77 * before the target method is ever invoked.
93 final Set<Method> interruptibleMethods
98 public Object invoke(Object obj, final Method method, final Object[] args
    [all...]
  /external/proguard/src/proguard/classfile/visitor/
ReferencedClassVisitor.java 140 // Let the visitor visit the class of the enclosing method.
145 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
148 codeAttribute.attributesAccept(clazz, method, this);
152 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute)
155 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this);
159 public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute)
162 localVariableTypeTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this)
    [all...]
  /external/android-mock/tests/com/google/android/testing/mocking/
AndroidMockGeneratorTest.java 27 import java.lang.reflect.Method;
109 for (CtMethod method : methods) {
110 methodNames.add(method.getName());
176 private List<String> getMethodSignatures(Method[] methods) {
178 for (Method method : methods) {
179 if (getAndroidMockGenerator().isMockable(method)) {
180 methodSignatures.add(method.toGenericString());
205 Method method = Object.class.getMethod("equals", Object.class) local
212 Method method = Class.class.getDeclaredMethod("newInstance"); local
220 Method method = Object.class.getDeclaredMethod("finalize"); local
227 Method method = Object.class.getMethod("toString"); local
234 Method method = Thread.class.getMethod("run"); local
239 Method method = Object.class.getMethod("notify"); local
249 Method method = Thread.class.getMethod("currentThread"); local
271 Method method = Object.class.getMethod("equals", Object.class); local
285 Method method = AllTypes.class.getMethod(returnTypes[i] + "Foo"); local
291 Method method = AllTypes.class.getMethod("objectFoo"); local
354 Method method = Class.class.getDeclaredMethod("newInstance"); local
364 Method method = Object.class.getDeclaredMethod("finalize"); local
372 Method method = local
382 Method method = Object.class.getMethod("toString"); local
391 Method method = Thread.class.getMethod("run"); local
397 Method method = Object.class.getMethod("notify"); local
407 Method method = Thread.class.getMethod("currentThread"); local
    [all...]
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/
ReflectionUtils.java 20 import java.lang.reflect.Method;
125 // Method
129 * @return all declared {@link Method}'s, including protected and private.
131 public static Map<String, Method> getMethods(Class<?> clazz) {
132 Map<String, Method> methods = Maps.newHashMap();
135 for (Method method : c.getDeclaredMethods()) {
136 String signature = getMethodSignature(method);
138 method.setAccessible(true);
139 methods.put(signature, method);
226 Method method = getMethodBySignature(refClass, signature); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
MethodTest.java 19 import java.lang.reflect.Method;
25 Method m = String.class.getMethod("charAt", int.class);
60 Method method = MethodTestHelper.class.getMethod("m1", new Class[0]); local
61 Class[] exceptions = method.getExceptionTypes();
66 exceptions = method.getExceptionTypes();
73 Method method = MethodTestHelper.class.getMethod("m2", expectedParameters); local
74 Class[] parameters = method.getParameterTypes();
79 parameters = method.getParameterTypes()
141 Method method = Super.class.getDeclaredMethod("a"); local
166 Method method = anonymous.getClass().getMethod("a"); local
175 Method method = anonymous.getClass().getMethod("a"); local
196 Method method = anonymous.getClass().getDeclaredMethod("a"); local
    [all...]
GenericExceptionsTest.java 21 import java.lang.reflect.Method;
31 Method method = Thrower.class.getMethod("parameterizedMethod"); local
33 Arrays.asList(method.getGenericExceptionTypes()));
37 Method method = Thrower.class.getMethod("genericParameters", List.class); local
39 Arrays.asList(method.getGenericExceptionTypes()));
63 Method method = ThrowerT.class.getMethod("throwsTypeVariable"); local
64 TypeVariable typeVariable = getOnlyValue(method.getGenericExceptionTypes()
71 Method method = ThrowerT.class.getMethod("throwsMethodTypeParameter"); local
79 Method method = ThrowerT.class.getMethod("throwsEverything"); local
    [all...]
  /dalvik/vm/reflect/
Proxy.cpp 31 static bool returnTypesAreCompatible(Method* baseMethod, Method* subMethod);
32 static bool gatherMethods(ArrayObject* interfaces, Method*** pMethods,\
34 static int copyWithoutDuplicates(Method** allMethods, int allCount,
35 Method** outMethods, ArrayObject* throws);
36 static bool createExceptionClassList(const Method* method,
38 static void updateExceptionClassList(const Method* method, PointerSet* throws);
39 static void createConstructor(ClassObject* clazz, Method* meth)
    [all...]
  /dalvik/vm/compiler/
Compiler.h 86 bool methodCompilationAborted; // Cannot compile the whole method
93 kWorkOrderMethod = 1, // Work is to compile a whole method
107 /* Chain cell for predicted method invocation */
111 const Method *method; /* to lookup native PC from dalvik PC */ member in struct:PredictedChainingCell
131 const Method* method; member in struct:__anon789
138 kIsLeaf, /* Method is leaf */
139 kIsEmpty, /* Method is empty */
140 kIsThrowFree, /* Method doesn't throw *
172 const Method *method; \/\/ Used as hash entry signature member in struct:CompilerMethodStats
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/
plugin.properties 25 javaMethodBreakpoint.name=Java Method Breakpoints
38 JavaMethodBreakpoint.name = Java Method Breakpoint
39 JavaMethodEntryBreakpoint.name = Java Method Entry Breakpoint
  /dalvik/tests/087-gc-after-link/src/
Main.java 18 import java.lang.reflect.Method;
86 Method meth = dexClass.getMethod("loadClass",
97 Method meth = dexClass.getMethod("close", (Class[]) null);
118 * otherwise invoke the super's loadClass method.
  /external/clang/lib/Sema/
SemaExprObjC.cpp 143 /// \brief Retrieve the NSNumber factory method that should be used to create
160 // If we already looked up this method, we're done.
197 // Look for the appropriate method within NSNumber.
198 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel);;
199 if (!Method && S.getLangOpts().DebuggerObjCLiteral) {
200 // create a stub definition this NSNumber factory method.
202 Method = ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel,
209 ParmVarDecl *value = ParmVarDecl::Create(S.Context, Method,
213 Method->setMethodParams(S.Context, value, ArrayRef<SourceLocation>());
216 if (!Method) {
1017 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(DC); local
1218 ObjCMethodDecl *method = local
2392 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(CurContext); local
2673 ObjCMethodDecl *method; local
    [all...]

Completed in 1028 milliseconds

1 2 3 4 5 6 78 91011>>