Home
last modified time | relevance | path

Searched refs:methodInfo (Results 1 – 25 of 29) sorted by relevance

12

/external/mockito/src/org/mockito/internal/stubbing/answers/
DAnswersValidator.java16 MethodInfo methodInfo = new MethodInfo(invocation); in validate() local
18 validateException((ThrowsException) answer, methodInfo); in validate() local
22 validateReturnValue((Returns) answer, methodInfo); in validate() local
26 validateDoNothing((DoesNothing) answer, methodInfo); in validate() local
30 validateMockingConcreteClass((CallsRealMethods) answer, methodInfo); in validate() local
42 MethodInfo methodInfo = new MethodInfo(invocation); in validateReturnArgIdentity() local
43 if (!methodInfo.isValidReturnType(returnsArgumentAt.returnedTypeOnSignature(invocation))) { in validateReturnArgIdentity()
44 … new Reporter().wrongTypeOfArgumentToReturn(invocation, methodInfo.printMethodReturnType(), in validateReturnArgIdentity()
51 private void validateMockingConcreteClass(CallsRealMethods answer, MethodInfo methodInfo) { in validateMockingConcreteClass() argument
52 if (methodInfo.isDeclaredOnInterface()) { in validateMockingConcreteClass()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DGetValues002Test.java38 MethodInfo methodInfo = tester.addTestMethod("runBreakpointBoolean"); in testGetValues001_Boolean() local
39 methodInfo.addVariable("param", oldValue); in testGetValues001_Boolean()
54 MethodInfo methodInfo = tester.addTestMethod("runBreakpointByte"); in testGetValues002_Byte() local
55 methodInfo.addVariable("param", expectedValue); in testGetValues002_Byte()
70 MethodInfo methodInfo = tester.addTestMethod("runBreakpointChar"); in testGetValues003_Char() local
71 methodInfo.addVariable("param", expectedValue); in testGetValues003_Char()
86 MethodInfo methodInfo = tester.addTestMethod("runBreakpointShort"); in testGetValues004_Short() local
87 methodInfo.addVariable("param", oldValue); in testGetValues004_Short()
102 MethodInfo methodInfo = tester.addTestMethod("runBreakpointInt"); in testGetValues005_Int() local
103 methodInfo.addVariable("param", oldValue); in testGetValues005_Int()
[all …]
DSetValues002Test.java39 MethodInfo methodInfo = tester.addTestMethod("runBreakpointBoolean"); in testSetValues001_Boolean() local
40 methodInfo.addVariable("param", oldValue, newValue); in testSetValues001_Boolean()
56 MethodInfo methodInfo = tester.addTestMethod("runBreakpointByte"); in testSetValues002_Byte() local
57 methodInfo.addVariable("param", oldValue, newValue); in testSetValues002_Byte()
73 MethodInfo methodInfo = tester.addTestMethod("runBreakpointChar"); in testSetValues003_Char() local
74 methodInfo.addVariable("param", oldValue, newValue); in testSetValues003_Char()
90 MethodInfo methodInfo = tester.addTestMethod("runBreakpointShort"); in testSetValues004_Short() local
91 methodInfo.addVariable("param", oldValue, newValue); in testSetValues004_Short()
107 MethodInfo methodInfo = tester.addTestMethod("runBreakpointInt"); in testSetValues005_Int() local
108 methodInfo.addVariable("param", oldValue, newValue); in testSetValues005_Int()
[all …]
DJDWPStackFrameAccessTest.java141 MethodInfo methodInfo = new MethodInfo(methodName); in addTestMethod() local
142 testedMethods.add(methodInfo); in addTestMethod()
143 return methodInfo; in addTestMethod()
232 for (MethodInfo methodInfo : tester.getTestedMethods()) { in checkStackFrame()
233 String testMethodName = methodInfo.getMethodName(); in checkStackFrame()
236 boolean isSuspensionMethod = (methodInfo == suspensionMethodInfo); in checkStackFrame()
247 List<? extends VariableInfo> testedVariables = methodInfo.getVariables(); in checkStackFrame()
/external/javassist/src/main/javassist/
DCtBehavior.java30 protected MethodInfo methodInfo; field in CtBehavior
34 methodInfo = minfo; in CtBehavior()
44 MethodInfo srcInfo = src.methodInfo; in copy()
66 methodInfo = new MethodInfo(cp, srcInfo.getName(), srcInfo, map); in copy()
68 methodInfo.setSuperclass(destSuperName); in copy()
82 buffer.append(methodInfo.getDescriptor()); in extendToString()
99 return methodInfo; in getMethodInfo()
121 public MethodInfo getMethodInfo2() { return methodInfo; } in getMethodInfo2()
131 return AccessFlag.toModifier(methodInfo.getAccessFlags()); in getModifiers()
145 methodInfo.setAccessFlags(AccessFlag.of(mod)); in setModifiers()
[all …]
DCtMethod.java57 methodInfo = new MethodInfo(cp, mname, desc); in CtMethod()
171 cachedStringRep = methodInfo.getName() in getStringRep()
172 + Descriptor.getParamDescriptor(methodInfo.getDescriptor()); in getStringRep()
201 return methodInfo.getName(); in getName()
209 methodInfo.setName(newname); in setName()
254 setBody0(src.declaringClass, src.methodInfo, in setBody()
255 declaringClass, methodInfo, map); in setBody()
291 methodInfo.setCodeAttribute(cattr); in setWrappedBody()
292 methodInfo.setAccessFlags(methodInfo.getAccessFlags() in setWrappedBody()
DCtConstructor.java59 methodInfo = new MethodInfo(cp, "<init>", desc); in CtConstructor()
108 return methodInfo.isConstructor(); in isConstructor()
115 return methodInfo.isStaticInitializer(); in isClassInitializer()
137 if (methodInfo.isStaticInitializer()) in getName()
185 CodeAttribute codeAttr = methodInfo.getCodeAttribute(); in callsSuper()
234 setBody0(src.declaringClass, src.methodInfo, in setBody()
235 declaringClass, methodInfo, map); in setBody()
252 CodeAttribute ca = methodInfo.getCodeAttribute(); in insertBeforeBody()
254 Bytecode b = new Bytecode(methodInfo.getConstPool(), in insertBeforeBody()
266 methodInfo.rebuildStackMapIf6(cc.getClassPool(), cc.getClassFile2()); in insertBeforeBody()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/
DIsObsoleteTest.java54 for (MethodInfo methodInfo : methodsInfo) { in testIsObsoleteTest001()
55 logWriter.println(methodInfo.toString()); in testIsObsoleteTest001()
62 packet.setNextValueAsMethodID(methodInfo.getMethodID()); in testIsObsoleteTest001()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
DMethodDelegate.java208 MethodInfo methodInfo = ReflectUtils.getMethodInfo(method); in generateClass() local
210 boolean isStatic = TypeUtils.isStatic(methodInfo.getModifiers()); in generateClass()
231 e.checkcast(methodInfo.getClassInfo().getType()); in generateClass()
233 e.invoke(methodInfo); in generateClass()
252 e.push(methodInfo.getSignature().toString()); in generateClass()
/external/proguard/src/proguard/retrace/
DReTrace.java458 MethodInfo methodInfo = (MethodInfo)methodInfoIterator.next(); in originalMethodName() local
459 if (methodInfo.matches(lineNumber, type, arguments)) in originalMethodName()
469 outLine.append(methodInfo.type).append(' '); in originalMethodName()
471 outLine.append(methodInfo.originalName); in originalMethodName()
474 outLine.append('(').append(methodInfo.arguments).append(')'); in originalMethodName()
490 extraBuffer.append(methodInfo.type).append(' '); in originalMethodName()
492 extraBuffer.append(methodInfo.originalName); in originalMethodName()
495 extraBuffer.append('(').append(methodInfo.arguments).append(')'); in originalMethodName()
/external/doclava/src/com/google/doclava/
DConverter.java309 MethodInfo methodInfo = Converter.obtainMethod(method); in getHiddenMethods() local
310 if (methodInfo.isHidden()) { in getHiddenMethods()
311 hiddenMethods.add(methodInfo); in getHiddenMethods()
323 MethodInfo methodInfo = Converter.obtainMethod(method); in getRemovedMethods() local
324 if (methodInfo.isRemoved()) { in getRemovedMethods()
325 removedMethods.add(methodInfo); in getRemovedMethods()
354 MethodInfo methodInfo = Converter.obtainMethod(method); in convertAllMethods() local
355 allMethods.add(methodInfo); in convertAllMethods()
369 MethodInfo methodInfo = Converter.obtainMethod(method); in convertMethods() local
370 if (methodInfo.checkLevel()) { in convertMethods()
[all …]
/external/deqp/modules/glshared/
DglsDrawTest.cpp2500 const MethodInfo methodInfo = getMethodInfo(drawMethod); in getName() local
2501 const bool hasFirst = methodInfo.first; in getName()
2502 const bool instanced = methodInfo.instanced; in getName()
2503 const bool ranged = methodInfo.ranged; in getName()
2504 const bool indexed = methodInfo.indexed; in getName()
2928 const MethodInfo methodInfo = getMethodInfo(drawMethod); in hash() local
2929 const bool arrayed = methodInfo.first; in hash()
2930 const bool instanced = methodInfo.instanced; in hash()
2931 const bool ranged = methodInfo.ranged; in hash()
2932 const bool indexed = methodInfo.indexed; in hash()
[all …]
/external/javassist/src/main/javassist/bytecode/
DInstructionPrinter.java123 return opstring + " " + methodInfo(pool, iter.u16bitAt(pos + 1)); in instructionString()
207 private static String methodInfo(ConstPool pool, int index) { in methodInfo() method in InstructionPrinter
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.p2.repository.tools_2.0.1.R36x_v20100823.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/dexmaker/lib/
Dmockito-core-1.9.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/ ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...
Dxwork-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF xwork-validator-definition-1.0. ...
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/guice/lib/build/
Dcglib-3.1.jarMETA-INF/ META-INF/MANIFEST.MF net/ net/sf/ net/ ...
/external/guice/extensions/persist/lib/
Dcglib-nodep-3.0.jarMETA-INF/MANIFEST.MF LICENSE NOTICE net/sf/cglib/beans/BeanCopier$ ...
/external/robolectric/v1/lib/main/
Djavassist-3.14.0-GA.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/ ...

12