Searched refs:methodInfo (Results 1 - 16 of 16) sorted by relevance

/external/mockito/src/org/mockito/internal/stubbing/answers/
H A DAnswersValidator.java16 MethodInfo methodInfo = new MethodInfo(invocation);
18 validateException((ThrowsException) answer, methodInfo);
22 validateReturnValue((Returns) answer, methodInfo);
26 validateDoNothing((DoesNothing) answer, methodInfo);
30 validateMockingConcreteClass((CallsRealMethods) answer, methodInfo);
42 MethodInfo methodInfo = new MethodInfo(invocation);
43 if (!methodInfo.isValidReturnType(returnsArgumentAt.returnedTypeOnSignature(invocation))) {
44 new Reporter().wrongTypeOfArgumentToReturn(invocation, methodInfo.printMethodReturnType(),
51 private void validateMockingConcreteClass(CallsRealMethods answer, MethodInfo methodInfo) { argument
52 if (methodInfo
57 validateDoNothing(DoesNothing answer, MethodInfo methodInfo) argument
63 validateReturnValue(Returns answer, MethodInfo methodInfo) argument
77 validateException(ThrowsException answer, MethodInfo methodInfo) argument
[all...]
/external/javassist/src/main/javassist/
H A DCtMethod.java57 methodInfo = new MethodInfo(cp, mname, desc);
171 cachedStringRep = methodInfo.getName()
172 + Descriptor.getParamDescriptor(methodInfo.getDescriptor());
201 return methodInfo.getName();
209 methodInfo.setName(newname);
254 setBody0(src.declaringClass, src.methodInfo,
255 declaringClass, methodInfo, map);
291 methodInfo.setCodeAttribute(cattr);
292 methodInfo.setAccessFlags(methodInfo
[all...]
H A DCtBehavior.java30 protected MethodInfo methodInfo; field in class:CtBehavior
34 methodInfo = minfo;
44 MethodInfo srcInfo = src.methodInfo;
66 methodInfo = new MethodInfo(cp, srcInfo.getName(), srcInfo, map);
68 methodInfo.setSuperclass(destSuperName);
82 buffer.append(methodInfo.getDescriptor());
99 return methodInfo;
121 public MethodInfo getMethodInfo2() { return methodInfo; }
131 return AccessFlag.toModifier(methodInfo.getAccessFlags());
145 methodInfo
[all...]
H A DCtConstructor.java59 methodInfo = new MethodInfo(cp, "<init>", desc);
108 return methodInfo.isConstructor();
115 return methodInfo.isStaticInitializer();
137 if (methodInfo.isStaticInitializer())
185 CodeAttribute codeAttr = methodInfo.getCodeAttribute();
234 setBody0(src.declaringClass, src.methodInfo,
235 declaringClass, methodInfo, map);
252 CodeAttribute ca = methodInfo.getCodeAttribute();
254 Bytecode b = new Bytecode(methodInfo.getConstPool(),
266 methodInfo
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
H A DMethodDelegate.java208 MethodInfo methodInfo = ReflectUtils.getMethodInfo(method);
210 boolean isStatic = TypeUtils.isStatic(methodInfo.getModifiers());
231 e.checkcast(methodInfo.getClassInfo().getType());
233 e.invoke(methodInfo);
252 e.push(methodInfo.getSignature().toString());
/external/proguard/src/proguard/retrace/
H A DReTrace.java451 MethodInfo methodInfo = (MethodInfo)methodInfoIterator.next();
452 if (methodInfo.matches(lineNumber, type, arguments))
462 outLine.append(methodInfo.type).append(' ');
464 outLine.append(methodInfo.originalName);
467 outLine.append('(').append(methodInfo.arguments).append(')');
483 extraBuffer.append(methodInfo.type).append(' ');
485 extraBuffer.append(methodInfo.originalName);
488 extraBuffer.append('(').append(methodInfo.arguments).append(')');
/external/doclava/src/com/google/doclava/
H A DConverter.java306 MethodInfo methodInfo = Converter.obtainMethod(method);
307 if (methodInfo.isHidden()) {
308 hiddenMethods.add(methodInfo);
320 MethodInfo methodInfo = Converter.obtainMethod(method);
321 if (methodInfo.isRemoved()) {
322 removedMethods.add(methodInfo);
351 MethodInfo methodInfo = Converter.obtainMethod(method);
352 allMethods.add(methodInfo);
366 MethodInfo methodInfo = Converter.obtainMethod(method);
367 if (methodInfo
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DInstructionPrinter.java123 return opstring + " " + methodInfo(pool, iter.u16bitAt(pos + 1));
207 private static String methodInfo(ConstPool pool, int index) { method in class:InstructionPrinter
/external/deqp/modules/glshared/
H A DglsDrawTest.cpp2544 const MethodInfo methodInfo = getMethodInfo(drawMethod);
2545 const bool hasFirst = methodInfo.first;
2546 const bool instanced = methodInfo.instanced;
2547 const bool ranged = methodInfo.ranged;
2548 const bool indexed = methodInfo.indexed;
2972 const MethodInfo methodInfo = getMethodInfo(drawMethod);
2973 const bool arrayed = methodInfo.first;
2974 const bool instanced = methodInfo.instanced;
2975 const bool ranged = methodInfo.ranged;
2976 const bool indexed = methodInfo
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.repository.tools_2.0.1.R36x_v20100823.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/dexmaker/lib/
H A Dmockito-core-1.9.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...
/external/robolectric/lib/main/
H A Djavassist-3.14.0-GA.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/bytecode/analysis/ javassist/bytecode/annotation/ javassist/ ...
/external/robolectric/lib/test/
H A Dmockito-core-1.8.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd/ edu/umd/cs/ edu/ ...

Completed in 714 milliseconds