Home
last modified time | relevance | path

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

123

/external/doclava/src/com/google/doclava/
DClassInfo.java112 ArrayList<MethodInfo> constructors, ArrayList<MethodInfo> methods, in init()
113 ArrayList<MethodInfo> annotationElements, ArrayList<FieldInfo> fields, in init()
338 public ArrayList<MethodInfo> allConstructors() { in allConstructors()
342 public ArrayList<MethodInfo> constructors() { in constructors()
345 return new ArrayList<MethodInfo>(); in constructors()
348 mConstructors = new ArrayList<MethodInfo>(); in constructors()
349 for (MethodInfo m : mAllConstructors) { in constructors()
355 Collections.sort(mConstructors, MethodInfo.comparator); in constructors()
404 public ArrayList<MethodInfo> methods() { in methods()
406 TreeMap<String, MethodInfo> all = new TreeMap<String, MethodInfo>(); in methods()
[all …]
DConverter.java82 new ArrayList<MethodInfo>(Arrays.asList( in initClass()
84 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(c.methods(false)))), in initClass()
85 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(annotationElements))), in initClass()
95 new ArrayList<MethodInfo>(Arrays.asList(Converter.getHiddenMethods(c.methods(false))))); in initClass()
97 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertNonWrittenConstructors( in initClass()
251 private static MethodInfo[] getHiddenMethods(MethodDoc[] methods) { in getHiddenMethods()
253 ArrayList<MethodInfo> out = new ArrayList<MethodInfo>(); in getHiddenMethods()
256 MethodInfo m = Converter.obtainMethod(methods[i]); in getHiddenMethods()
269 return out.toArray(new MethodInfo[out.size()]); in getHiddenMethods()
276 private static MethodInfo[] convertMethods(MethodDoc[] methods) { in convertMethods()
[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()
DMethodInfo.java24 public class MethodInfo extends MemberInfo implements AbstractMethodInfo, Resolvable { class
25 public static final Comparator<MethodInfo> comparator = new Comparator<MethodInfo>() {
26 public int compare(MethodInfo a, MethodInfo b) {
37 MethodInfo m = findOverriddenMethod(name(), signature()); in inherited()
57 public MethodInfo findOverriddenMethod(String name, String signature) { in findOverriddenMethod()
69 for (MethodInfo me : iface.methods()) { in findOverriddenMethod()
91 public MethodInfo findRealOverriddenMethod(String name, String signature, HashSet notStrippable) { in findRealOverriddenMethod()
107 for (MethodInfo me : iface.methods()) { in findRealOverriddenMethod()
118 public MethodInfo findSuperclassImplementation(HashSet notStrippable) { in findSuperclassImplementation()
140 for (MethodInfo me : iface.methods()) { in findSuperclassImplementation()
[all …]
DStubs.java62 for (MethodInfo m : cl.selfMethods()) { in writeStubsAndApi()
91 for (MethodInfo m : cl.annotationElements()) { in writeStubsAndApi()
220 …private static void cantStripThis(ArrayList<MethodInfo> mInfos, HashSet<ClassInfo> notStrippable) { in cantStripThis()
224 for (MethodInfo mInfo : mInfos) { in cantStripThis()
405 for (MethodInfo method : cl.constructors()) { in writeClass()
442 for (MethodInfo method : cl.allSelfMethods()) { in writeClass()
458 for (MethodInfo method : cl.getHiddenMethods()) { in writeClass()
459 MethodInfo overriddenMethod = in writeClass()
471 for (MethodInfo element : cl.annotationElements()) { in writeClass()
498 static void writeMethod(PrintStream stream, MethodInfo method, boolean isConstructor) { in writeMethod()
[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()
DAttributeInfo.java32 public ArrayList<MethodInfo> methods = new ArrayList<MethodInfo>();
94 for (MethodInfo m : methods) { in makeHDF()
DSinceTagger.java150 for (MethodInfo constructor : doc.constructors()) { in versionConstructors()
173 for (MethodInfo method : doc.methods()) { in versionMethods()
208 for (MethodInfo constructor : missingVersions(claz.constructors())) { in warnForMissingVersions()
213 for (MethodInfo method : missingVersions(claz.methods())) { in warnForMissingVersions()
DLinkReference.java274 MethodInfo method = result.classInfo.findMethod(mem, params, paramDimensions, varargs); in parse()
308 MethodInfo m = in parse()
309 (result.memberInfo instanceof MethodInfo) ? (MethodInfo) result.memberInfo : null; in parse()
318 MethodInfo method = null; in parse()
322 method = (MethodInfo) result.memberInfo; in parse()
/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/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/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 …]
DCtMethod.java36 CtMethod(MethodInfo minfo, CtClass declaring) { in CtMethod()
57 methodInfo = new MethodInfo(cp, mname, desc); in CtMethod()
141 public static CtMethod make(MethodInfo minfo, CtClass declaring) in make()
/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()
/external/javassist/src/main/javassist/expr/
DConstructorCall.java23 import javassist.bytecode.MethodInfo;
35 protected ConstructorCall(int pos, CodeIterator i, CtClass decl, MethodInfo m) { in ConstructorCall()
DExprEditor.java78 public boolean doit(CtClass clazz, MethodInfo minfo) in doit()
125 boolean doit(CtClass clazz, MethodInfo minfo, LoopContext context, in doit()
176 MethodInfo minfo, LoopContext context) in loopBody()
216 if (mcall.getMethodName().equals(MethodInfo.nameInit)) { in loopBody()
DNewExpr.java34 MethodInfo m, String type, int np) { in NewExpr()
235 gen.atMethodCallCore(newType, MethodInfo.nameInit, args, in doit()
243 c.atMethodCallCore(newType, MethodInfo.nameInit, args); in setReturnType()
DExpr.java34 import javassist.bytecode.MethodInfo;
48 MethodInfo thisMethod;
57 protected Expr(int pos, CodeIterator i, CtClass declaring, MethodInfo m) { in Expr()
99 MethodInfo mi = thisMethod; in where()
/external/doclava/src/com/google/doclava/apicheck/
DXmlApiFile.java23 import com.google.doclava.MethodInfo;
143 MethodInfo overriddenMethod = null; // TODO in startElement()
151 new MethodInfo(rawCommentText, typeParameters, name, signature, containingClass, in startElement()
163 new MethodInfo(""/*rawCommentText*/, new ArrayList<TypeInfo>()/*typeParameters*/, in startElement()
219 mCurrentClass.addMethod((MethodInfo) mCurrentMethod); in endElement()
221 mCurrentClass.addConstructor((MethodInfo) mCurrentMethod); in endElement()
/external/javassist/src/main/javassist/convert/
DTransformer.java24 import javassist.bytecode.MethodInfo;
44 …public void initialize(ConstPool cp, CtClass clazz, MethodInfo minfo) throws CannotCompileExceptio… in initialize()
/external/javassist/src/main/javassist/bytecode/analysis/
DAnalyzer.java30 import javassist.bytecode.MethodInfo;
121 public Frame[] analyze(CtClass clazz, MethodInfo method) throws BadBytecode { in analyze()
167 private void analyzeNextEntry(MethodInfo method, CodeIterator iter, in analyzeNextEntry()
212 private ExceptionInfo[] buildExceptionInfo(MethodInfo method) { in buildExceptionInfo()
233 private Frame firstFrame(MethodInfo method, int maxLocals, int maxStack) { in firstFrame()
292 private void mergeExceptionHandlers(IntQueue queue, MethodInfo method, int pos, Frame frame) { in mergeExceptionHandlers()

123