HomeSort by relevance Sort by last modified time
    Searched refs:MethodInfo (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /external/mockito/src/org/mockito/internal/stubbing/answers/
AnswersValidator.java 16 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);
    [all...]
MethodInfo.java 15 public class MethodInfo {
19 public MethodInfo(Invocation theInvocation) {
  /external/javassist/src/main/javassist/expr/
ConstructorCall.java 23 import javassist.bytecode.MethodInfo;
35 protected ConstructorCall(int pos, CodeIterator i, CtClass decl, MethodInfo m) {
NewExpr.java 34 MethodInfo m, String type, int np) {
235 gen.atMethodCallCore(newType, MethodInfo.nameInit, args,
243 c.atMethodCallCore(newType, MethodInfo.nameInit, args);
  /development/tools/apkcheck/src/com/android/apkcheck/
ClassInfo.java 31 private HashMap<String,MethodInfo> mMethodList;
62 mMethodList = new HashMap<String,MethodInfo>();
153 public void addMethod(MethodInfo methInfo) {
160 public Iterator<MethodInfo> getMethodIterator() {
169 public MethodInfo getMethod(String nameAndDescr) {
184 public MethodInfo getMethodIgnoringReturn(String nameAndDescr) {
187 Iterator<MethodInfo> iter = getMethodIterator();
189 MethodInfo methInfo = iter.next();
310 HashMap<String,MethodInfo> tmpMethodList = new HashMap<String,MethodInfo>();
    [all...]
ApiDescrHandler.java 39 private MethodInfo mCurrentMethod = null;
86 mCurrentMethod = new MethodInfo(attributes.getValue("name"),
90 mCurrentMethod = new MethodInfo("<init>", "void");
MethodInfo.java 25 public class MethodInfo {
33 * Constructs MethodInfo. Tuck the method return type away for
36 public MethodInfo(String name, String returnType) {
  /external/doclava/src/com/google/doclava/
ClassInfo.java 111 ArrayList<MethodInfo> constructors, ArrayList<MethodInfo> methods,
112 ArrayList<MethodInfo> annotationElements, ArrayList<FieldInfo> fields,
341 public ArrayList<MethodInfo> allConstructors() {
345 public ArrayList<MethodInfo> constructors() {
348 return new ArrayList<MethodInfo>();
351 mConstructors = new ArrayList<MethodInfo>();
352 for (MethodInfo m : mAllConstructors) {
358 Collections.sort(mConstructors, MethodInfo.comparator);
407 public ArrayList<MethodInfo> methods()
    [all...]
AnnotationValueInfo.java 23 private MethodInfo mElement;
33 public AnnotationValueInfo(MethodInfo element) {
41 public MethodInfo element() {
45 public void setElement(MethodInfo element) {
121 for (MethodInfo m : annotation.annotationElements()) {
DoclavaDiff.java 159 List<MethodInfo> methods = knownMethodsForClass(qualifiedClassName, sites);
160 for (MethodInfo method : methods) {
174 Map<String,MethodInfo> siteMethods
231 private List<MethodInfo> knownMethodsForClass(String qualifiedClassName,
234 Map<String, MethodInfo> allMethods = new HashMap<String, MethodInfo>();
241 for (Map.Entry<String, MethodInfo> entry: classInfo.allMethods().entrySet()) {
246 List<MethodInfo> methods = new ArrayList<MethodInfo>();
277 List<MethodInfo> methods = knownMethodsForClass(qualifiedClassName, sites)
    [all...]
Converter.java 82 new ArrayList<MethodInfo>(Arrays.asList(
84 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(c.methods(false)))),
85 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(annotationElements))),
95 new ArrayList<MethodInfo>(Arrays.asList(Converter.getHiddenMethods(c.methods(false)))));
97 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertNonWrittenConstructors(
251 private static MethodInfo[] getHiddenMethods(MethodDoc[] methods) {
253 ArrayList<MethodInfo> out = new ArrayList<MethodInfo>();
256 MethodInfo m = Converter.obtainMethod(methods[i]);
269 return out.toArray(new MethodInfo[out.size()])
    [all...]
AttributeInfo.java 32 public ArrayList<MethodInfo> methods = new ArrayList<MethodInfo>();
94 for (MethodInfo m : methods) {
Stubs.java 73 for (MethodInfo m : cl.selfMethods()) {
102 for (MethodInfo m : cl.annotationElements()) {
237 private static void cantStripThis(ArrayList<MethodInfo> mInfos, HashSet<ClassInfo> notStrippable) {
241 for (MethodInfo mInfo : mInfos) {
422 for (MethodInfo method : cl.constructors()) {
459 for (MethodInfo method : cl.allSelfMethods()) {
475 for (MethodInfo method : cl.getHiddenMethods()) {
476 MethodInfo overriddenMethod =
488 for (MethodInfo element : cl.annotationElements()) {
515 static void writeMethod(PrintStream stream, MethodInfo method, boolean isConstructor)
    [all...]
MethodInfo.java 25 public class MethodInfo extends MemberInfo implements AbstractMethodInfo, Resolvable {
26 public static final Comparator<MethodInfo> comparator = new Comparator<MethodInfo>() {
27 public int compare(MethodInfo a, MethodInfo b) {
38 MethodInfo m = findOverriddenMethod(name(), signature());
58 public MethodInfo findOverriddenMethod(String name, String signature) {
70 for (MethodInfo me : iface.methods()) {
92 public MethodInfo findRealOverriddenMethod(String name, String signature, HashSet notStrippable) {
108 for (MethodInfo me : iface.methods())
    [all...]
SinceTagger.java 157 for (MethodInfo constructor : doc.constructors()) {
167 MethodInfo specConstructor = spec.allConstructorsMap().get(constructor.getHashableName());
203 for (MethodInfo method : doc.methods()) {
209 MethodInfo specMethod = spec.allMethods().get(method.getHashableName());
250 for (MethodInfo constructor : missingVersions(claz.constructors())) {
255 for (MethodInfo method : missingVersions(claz.methods())) {
  /external/chromium_org/ppapi/native_client/src/trusted/plugin/
srpc_client.h 26 class MethodInfo;
58 typedef std::map<nacl::string, MethodInfo*> Methods;
srpc_client.cc 20 // MethodInfo records the method names and type signatures of an SRPC server.
21 class MethodInfo {
24 MethodInfo(const RpcFunction function_ptr,
38 ~MethodInfo() {
51 NACL_DISALLOW_COPY_AND_ASSIGN(MethodInfo);
114 // Intern the methods into a mapping from identifiers to MethodInfo.
134 MethodInfo* method_info =
135 new MethodInfo(NULL, method_name, input_types, output_types, i);
154 MethodInfo* method_info = methods_[method_name];
  /external/javassist/src/main/javassist/convert/
Transformer.java 24 import javassist.bytecode.MethodInfo;
44 public void initialize(ConstPool cp, CtClass clazz, MethodInfo minfo) throws CannotCompileException {
  /external/javassist/src/main/javassist/compiler/
AccessorMaker.java 39 public String getConstructor(CtClass c, String desc, MethodInfo orig)
52 MethodInfo minfo
53 = new MethodInfo(cp, MethodInfo.nameInit, consDesc);
67 code.addInvokespecial(clazz, MethodInfo.nameInit, desc);
98 MethodInfo orig)
111 MethodInfo minfo
112 = new MethodInfo(cp, accName, accDesc);
149 public MethodInfo getFieldGetter(FieldInfo finfo, boolean is_static)
156 return (MethodInfo)res; // already exists
    [all...]
  /external/javassist/src/main/javassist/bytecode/
ClassFile.java 171 MethodInfo minfo = (MethodInfo)list.get(i);
236 MethodInfo minfo = (MethodInfo)list.get(i);
373 MethodInfo minfo = (MethodInfo)list.get(i);
415 MethodInfo minfo = (MethodInfo)list.get(i);
452 MethodInfo minfo = (MethodInfo)list.get(i)
    [all...]
MethodInfo.java 33 public class MethodInfo {
59 private MethodInfo(ConstPool cp) {
76 public MethodInfo(ConstPool cp, String methodname, String desc) {
84 MethodInfo(ConstPool cp, DataInputStream in) throws IOException {
108 public MethodInfo(ConstPool cp, String methodname, MethodInfo src,
406 * a new one is created. If this <code>MethodInfo</code> does not
423 * a new one is created. If this <code>MethodInfo</code> does not
475 * This method does not perform anything unless this <code>MethodInfo</code>
499 private void read(MethodInfo src, String methodname, Map classnames
    [all...]
  /external/javassist/src/main/javassist/
CtConstructor.java 36 protected CtConstructor(MethodInfo minfo, CtClass declaring) {
56 this((MethodInfo)null, declaring);
59 methodInfo = new MethodInfo(cp, "<init>", desc);
100 this((MethodInfo)null, declaring);
108 return methodInfo.isConstructor();
115 return methodInfo.isStaticInitializer();
127 : ("." + MethodInfo.nameClinit + "()"));
137 if (methodInfo.isStaticInitializer())
138 return MethodInfo.nameClinit
    [all...]
CtNewMethod.java 228 MethodInfo minfo = new MethodInfo(cp, methodName, desc);
269 MethodInfo minfo = new MethodInfo(cp, methodName, desc);
330 MethodInfo deleInfo = delegate.getMethodInfo2();
334 MethodInfo minfo = new MethodInfo(cp, methodName, desc);
CtMethod.java 34 * @see #make(MethodInfo minfo, CtClass declaring)
36 CtMethod(MethodInfo minfo, CtClass declaring) {
57 methodInfo = new MethodInfo(cp, mname, desc);
133 * Creates a method from a <code>MethodInfo</code> object.
136 * @throws CannotCompileException if the the <code>MethodInfo</code>
141 public static CtMethod make(MethodInfo minfo, CtClass declaring)
171 cachedStringRep = methodInfo.getName()
172 + Descriptor.getParamDescriptor(methodInfo.getDescriptor());
201 return methodInfo.getName()
    [all...]
  /external/javassist/src/test/test/javassist/bytecode/analysis/
AnalyzerTest.java 14 import javassist.bytecode.MethodInfo;
70 MethodInfo info = method.getMethodInfo2();
79 private static int findOpcode(MethodInfo info, int opcode) throws BadBytecode {
94 MethodInfo info = method.getMethodInfo2();
114 MethodInfo info = method.getMethodInfo2();
200 MethodInfo info = method.getMethodInfo2();
220 MethodInfo info = method.getMethodInfo2();
237 MethodInfo info = method.getMethodInfo2();
252 MethodInfo info = method.getMethodInfo2();
276 MethodInfo info = method.getMethodInfo2()
    [all...]

Completed in 342 milliseconds

1 2 3 4