Home
last modified time | relevance | path

Searched refs:MethodInfo (Results 1 – 25 of 103) sorted by relevance

12345

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DGetValues002Test.java36 MethodInfo methodInfo = tester.addTestMethod("runBreakpointBoolean"); in testGetValues001_Boolean()
50 MethodInfo methodInfo = tester.addTestMethod("runBreakpointByte"); in testGetValues002_Byte()
64 MethodInfo methodInfo = tester.addTestMethod("runBreakpointChar"); in testGetValues003_Char()
78 MethodInfo methodInfo = tester.addTestMethod("runBreakpointShort"); in testGetValues004_Short()
92 MethodInfo methodInfo = tester.addTestMethod("runBreakpointInt"); in testGetValues005_Int()
106 MethodInfo methodInfo = tester.addTestMethod("runBreakpointInt2"); in testGetValues005_Int2()
121 MethodInfo methodInfo = tester.addTestMethod("runBreakpointLong"); in testGetValues006_Long()
135 MethodInfo methodInfo = tester.addTestMethod("runBreakpointFloat"); in testGetValues007_Float()
149 MethodInfo methodInfo = tester.addTestMethod("runBreakpointDouble"); in testGetValues008_Double()
166 MethodInfo methodInfo = tester.addTestMethod("runBreakpointObject"); in testGetValues009_ThisObject()
[all …]
DSetValues002Test.java36 MethodInfo methodInfo = tester.addTestMethod("runBreakpointBoolean"); in testSetValues001_Boolean()
51 MethodInfo methodInfo = tester.addTestMethod("runBreakpointByte"); in testSetValues002_Byte()
66 MethodInfo methodInfo = tester.addTestMethod("runBreakpointChar"); in testSetValues003_Char()
81 MethodInfo methodInfo = tester.addTestMethod("runBreakpointShort"); in testSetValues004_Short()
96 MethodInfo methodInfo = tester.addTestMethod("runBreakpointInt"); in testSetValues005_Int()
111 MethodInfo methodInfo = tester.addTestMethod("runBreakpointLong"); in testSetValues006_Long()
126 MethodInfo methodInfo = tester.addTestMethod("runBreakpointFloat"); in testSetValues007_Float()
141 MethodInfo methodInfo = tester.addTestMethod("runBreakpointDouble"); in testSetValues008_Double()
162 MethodInfo methodInfo = tester.addTestMethod("runBreakpointObject"); in testSetValues009_Object()
182 MethodInfo methodInfo = tester.addTestMethod("runBreakpointArray"); in testSetValues010_Array()
[all …]
DJDWPStackFrameAccessTest.java64 static class MethodInfo { class in JDWPStackFrameAccessTest
68 MethodInfo(String methodName) { in MethodInfo() method in JDWPStackFrameAccessTest.MethodInfo
93 private final List<MethodInfo> testedMethods = new ArrayList<MethodInfo>();
108 public List<? extends MethodInfo> getTestedMethods() { in getTestedMethods()
112 public MethodInfo addTestMethod(String methodName) { in addTestMethod()
113 MethodInfo methodInfo = new MethodInfo(methodName); in addTestMethod()
183 for (MethodInfo methodInfo : tester.getTestedMethods()) { in checkStackFrame()
/external/doclava/src/com/google/doclava/
DClassInfo.java142 ArrayList<MethodInfo> constructors, ArrayList<MethodInfo> methods, in init()
143 ArrayList<MethodInfo> annotationElements, ArrayList<FieldInfo> fields, in init()
509 public ArrayList<MethodInfo> allConstructors() { in allConstructors()
513 public ArrayList<MethodInfo> constructors() { in constructors()
516 return new ArrayList<MethodInfo>(); in constructors()
519 mConstructors = new ArrayList<MethodInfo>(); in constructors()
520 for (MethodInfo m : mAllConstructors) { in constructors()
526 Collections.sort(mConstructors, MethodInfo.comparator); in constructors()
575 public ArrayList<MethodInfo> methods() { in methods()
577 TreeMap<String, MethodInfo> all = new TreeMap<String, MethodInfo>(); in methods()
[all …]
DConverter.java123 new ArrayList<MethodInfo>(Arrays.asList( in initClass()
125 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(c.methods(false)))), in initClass()
126 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(annotationElements))), in initClass()
136 new ArrayList<MethodInfo>(Arrays.asList(Converter.getHiddenMethods(c.methods(false))))); in initClass()
138 … new ArrayList<MethodInfo>(Arrays.asList(Converter.getRemovedMethods(c.methods(false))))); in initClass()
141 new ArrayList<MethodInfo>(Converter.convertAllMethods(c.methods(false)))); in initClass()
143 new ArrayList<MethodInfo>(Converter.convertAllMethods(c.constructors(false)))); in initClass()
150 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertNonWrittenConstructors( in initClass()
304 private static MethodInfo[] getHiddenMethods(MethodDoc[] methods) { in getHiddenMethods()
306 ArrayList<MethodInfo> hiddenMethods = new ArrayList<MethodInfo>(); in getHiddenMethods()
[all …]
DDoclavaDiff.java159 List<MethodInfo> methods = knownMethodsForClass(qualifiedClassName, sites); in generateHdf()
160 for (MethodInfo method : methods) { in generateHdf()
174 Map<String,MethodInfo> siteMethods in generateHdf()
231 private List<MethodInfo> knownMethodsForClass(String qualifiedClassName, in knownMethodsForClass()
234 Map<String, MethodInfo> allMethods = new HashMap<String, MethodInfo>(); in knownMethodsForClass()
241 for (Map.Entry<String, MethodInfo> entry: classInfo.allMethods().entrySet()) { in knownMethodsForClass()
246 List<MethodInfo> methods = new ArrayList<MethodInfo>(); in knownMethodsForClass()
277 List<MethodInfo> methods = knownMethodsForClass(qualifiedClassName, sites); in agreeOnClass()
278 for (MethodInfo method : methods) { in agreeOnClass()
289 private boolean agreeOnMethod(String qualifiedClassName, MethodInfo method, in agreeOnMethod()
DStubs.java88 for (MethodInfo m : cl.selfMethods()) { in writeStubsAndApi()
135 for (MethodInfo m : cl.annotationElements()) { in writeStubsAndApi()
348 …private static void cantStripThis(ArrayList<MethodInfo> mInfos, HashSet<ClassInfo> notStrippable) { in cantStripThis()
352 for (MethodInfo mInfo : mInfos) { in cantStripThis()
533 for (MethodInfo method : cl.constructors()) { in writeClass()
570 for (MethodInfo method : cl.allSelfMethods()) { in writeClass()
587 List<MethodInfo> hiddenAndRemovedMethods = cl.getHiddenMethods(); in writeClass()
589 for (MethodInfo method : hiddenAndRemovedMethods) { in writeClass()
590 MethodInfo overriddenMethod = in writeClass()
603 for (MethodInfo element : cl.annotationElements()) { in writeClass()
[all …]
DMethodInfo.java25 public class MethodInfo extends MemberInfo implements AbstractMethodInfo, Resolvable { class
26 public static final Comparator<MethodInfo> comparator = new Comparator<MethodInfo>() {
27 public int compare(MethodInfo a, MethodInfo b) {
38 MethodInfo m = findOverriddenMethod(name(), signature()); in inherited()
58 public MethodInfo findOverriddenMethod(String name, String signature) { in findOverriddenMethod()
70 for (MethodInfo me : iface.methods()) { in findOverriddenMethod()
92 public MethodInfo findRealOverriddenMethod(String name, String signature, HashSet notStrippable) { in findRealOverriddenMethod()
108 for (MethodInfo me : iface.methods()) { in findRealOverriddenMethod()
119 public MethodInfo findSuperclassImplementation(HashSet notStrippable) { in findSuperclassImplementation()
141 for (MethodInfo me : iface.methods()) { in findSuperclassImplementation()
[all …]
DAnnotationValueInfo.java23 private MethodInfo mElement;
33 public AnnotationValueInfo(MethodInfo element) { in AnnotationValueInfo()
41 public MethodInfo element() { in element()
45 public void setElement(MethodInfo element) { in setElement()
121 for (MethodInfo m : annotation.annotationElements()) { in resolveResolutions()
DSinceTagger.java157 for (MethodInfo constructor : doc.constructors()) { in versionConstructors()
167 MethodInfo specConstructor = spec.allConstructorsMap().get(constructor.getHashableName()); in versionConstructors()
203 for (MethodInfo method : doc.methods()) { in versionMethods()
209 MethodInfo specMethod = spec.allMethods().get(method.getHashableName()); in versionMethods()
250 for (MethodInfo constructor : missingVersions(claz.constructors())) { in warnForMissingVersions()
255 for (MethodInfo method : missingVersions(claz.methods())) { in warnForMissingVersions()
DAttributeInfo.java32 public ArrayList<MethodInfo> methods = new ArrayList<MethodInfo>();
94 for (MethodInfo m : methods) { in makeHDF()
/external/javassist/src/main/javassist/compiler/
DAccessorMaker.java39 public String getConstructor(CtClass c, String desc, MethodInfo orig) in getConstructor()
52 MethodInfo minfo in getConstructor()
53 = new MethodInfo(cp, MethodInfo.nameInit, consDesc); in getConstructor()
67 code.addInvokespecial(clazz, MethodInfo.nameInit, desc); in getConstructor()
98 MethodInfo orig) in getMethodAccessor()
111 MethodInfo minfo in getMethodAccessor()
112 = new MethodInfo(cp, accName, accDesc); in getMethodAccessor()
149 public MethodInfo getFieldGetter(FieldInfo finfo, boolean is_static) in getFieldGetter()
156 return (MethodInfo)res; // already exists. in getFieldGetter()
170 MethodInfo minfo = new MethodInfo(cp, accName, accDesc); in getFieldGetter()
[all …]
/external/mockito/src/org/mockito/internal/stubbing/answers/
DAnswersValidator.java16 MethodInfo methodInfo = new MethodInfo(invocation); in validate()
42 MethodInfo methodInfo = new MethodInfo(invocation); in validateReturnArgIdentity()
51 private void validateMockingConcreteClass(CallsRealMethods answer, MethodInfo methodInfo) { in validateMockingConcreteClass()
57 private void validateDoNothing(DoesNothing answer, MethodInfo methodInfo) { in validateDoNothing()
63 private void validateReturnValue(Returns answer, MethodInfo methodInfo) { in validateReturnValue()
77 private void validateException(ThrowsException answer, MethodInfo methodInfo) { in validateException()
/external/javassist/src/main/javassist/bytecode/
DClassFile.java171 MethodInfo minfo = (MethodInfo)list.get(i); in compact()
236 MethodInfo minfo = (MethodInfo)list.get(i); in prune()
373 MethodInfo minfo = (MethodInfo)list.get(i); in setSuperclass()
415 MethodInfo minfo = (MethodInfo)list.get(i); in renameClass()
452 MethodInfo minfo = (MethodInfo)list.get(i); in renameClass()
479 MethodInfo minfo = (MethodInfo)list.get(i); in getRefClasses()
612 public MethodInfo getMethod(String name) { in getMethod()
616 MethodInfo minfo = (MethodInfo)list.get(i); in getMethod()
628 public MethodInfo getStaticInitializer() { in getStaticInitializer()
629 return getMethod(MethodInfo.nameClinit); in getStaticInitializer()
[all …]
DMethodInfo.java33 public class MethodInfo { class
59 private MethodInfo(ConstPool cp) { in MethodInfo() method in MethodInfo
76 public MethodInfo(ConstPool cp, String methodname, String desc) { in MethodInfo() method in MethodInfo
84 MethodInfo(ConstPool cp, DataInputStream in) throws IOException { in MethodInfo() method in MethodInfo
108 public MethodInfo(ConstPool cp, String methodname, MethodInfo src, in MethodInfo() method in MethodInfo
499 private void read(MethodInfo src, String methodname, Map classnames) in read()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/
DJDWPMethodTestCase.java41 static class MethodInfo { class in JDWPMethodTestCase
47 public MethodInfo(long methodID, String name, String signature, in MethodInfo() method in JDWPMethodTestCase.MethodInfo
86 protected MethodInfo[] jdwpGetMethodsInfo(long classID) { in jdwpGetMethodsInfo()
97 MethodInfo[] methodsInfo = new MethodInfo[declared]; in jdwpGetMethodsInfo()
99 methodsInfo[i] = new MethodInfo( in jdwpGetMethodsInfo()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DMethodInfo.java21 abstract public class MethodInfo { class
23 protected MethodInfo() { in MethodInfo() method in MethodInfo
34 if (!(o instanceof MethodInfo)) in equals()
36 return getSignature().equals(((MethodInfo)o).getSignature()); in equals()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
DCallbackGenerator.java30 CodeEmitter beginMethod(ClassEmitter ce, MethodInfo method); in beginMethod()
31 int getOriginalModifiers(MethodInfo method); in getOriginalModifiers()
32 int getIndex(MethodInfo method); in getIndex()
34 Signature getImplSignature(MethodInfo method); in getImplSignature()
DMethodInterceptorGenerator.java71 return ((MethodInfo)value).getClassInfo();
87 MethodInfo method = (MethodInfo)it.next(); in generate()
137 private static void superHelper(CodeEmitter e, MethodInfo method) in superHelper()
179 MethodInfo method = (MethodInfo)classMethods.get(index); in generateStatic()
198 MethodInfo method = (MethodInfo)classMethods.get(index); in generateStatic()
DInvocationHandlerGenerator.java39 MethodInfo method = (MethodInfo)it.next(); in generate()
60 MethodInfo method = (MethodInfo)it.next(); in generateStatic()
/external/javassist/src/main/javassist/
DCtConstructor.java36 protected CtConstructor(MethodInfo minfo, CtClass declaring) { in CtConstructor()
56 this((MethodInfo)null, declaring); in CtConstructor()
59 methodInfo = new MethodInfo(cp, "<init>", desc); in CtConstructor()
100 this((MethodInfo)null, declaring); in CtConstructor()
127 : ("." + MethodInfo.nameClinit + "()")); in getLongName()
138 return MethodInfo.nameClinit; in getName()
353 MethodInfo minfo = method.getMethodInfo2(); in toMethod()
DCtNewMethod.java228 MethodInfo minfo = new MethodInfo(cp, methodName, desc); in getter()
269 MethodInfo minfo = new MethodInfo(cp, methodName, desc); in setter()
330 MethodInfo deleInfo = delegate.getMethodInfo2(); in delegator0()
334 MethodInfo minfo = new MethodInfo(cp, methodName, desc); in delegator0()
DCtBehavior.java30 protected MethodInfo methodInfo;
32 protected CtBehavior(CtClass clazz, MethodInfo minfo) { in CtBehavior()
44 MethodInfo srcInfo = src.methodInfo; in copy()
66 methodInfo = new MethodInfo(cp, srcInfo.getName(), srcInfo, map); in copy()
97 public MethodInfo getMethodInfo() { in getMethodInfo()
121 public MethodInfo getMethodInfo2() { return methodInfo; } in getMethodInfo2()
157 MethodInfo mi = getMethodInfo2(); in hasAnnotation()
179 MethodInfo mi = getMethodInfo2(); in getAnnotation()
221 MethodInfo mi = getMethodInfo2(); in getAnnotations()
271 MethodInfo mi = getMethodInfo2(); in getParameterAnnotations()
[all …]
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java858 MethodInfo minfo = new MethodInfo(cp, "<clinit>", "()V"); in addMethodsHolder()
875 MethodInfo minfo = new MethodInfo(cp, HANDLER_SETTER, in addSetter()
890 MethodInfo minfo = new MethodInfo(cp, HANDLER_GETTER, in addGetter()
931 MethodInfo delegator in override()
938 MethodInfo forwarder in override()
955 MethodInfo m = makeConstructor(thisClassName, c, cp, superClass, doHandlerInit); in makeConstructors()
1054 private static MethodInfo makeConstructor(String thisClassName, Constructor cons, in makeConstructor()
1058 MethodInfo minfo = new MethodInfo(cp, "<init>", desc); in makeConstructor()
1095 private static MethodInfo makeDelegator(Method meth, String desc, in makeDelegator()
1097 MethodInfo delegator = new MethodInfo(cp, delegatorName, desc); in makeDelegator()
[all …]
/external/javassist/src/test/test/javassist/bytecode/analysis/
DAnalyzerTest.java14 import javassist.bytecode.MethodInfo;
70 MethodInfo info = method.getMethodInfo2(); in testReusedLocalMerge()
79 private static int findOpcode(MethodInfo info, int opcode) throws BadBytecode { in findOpcode()
94 MethodInfo info = method.getMethodInfo2(); in verifyReturn()
114 MethodInfo info = method.getMethodInfo2(); in verifyArrayLoad()
200 MethodInfo info = method.getMethodInfo2(); in generateDeadCode()
220 MethodInfo info = method.getMethodInfo2(); in generateInvalidCode()
237 MethodInfo info = method.getMethodInfo2(); in generateCodeFalloff()
252 MethodInfo info = method.getMethodInfo2(); in generateJsrMerge()
276 MethodInfo info = method.getMethodInfo2(); in generateJsrMerge2()

12345