Home
last modified time | relevance | path

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

123456

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DGetValues002Test.java36 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointBoolean"); in testGetValues001_Boolean()
38 MethodInfo methodInfo = tester.addTestMethod("runBreakpointBoolean"); in testGetValues001_Boolean()
52 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointByte"); in testGetValues002_Byte()
54 MethodInfo methodInfo = tester.addTestMethod("runBreakpointByte"); in testGetValues002_Byte()
68 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointChar"); in testGetValues003_Char()
70 MethodInfo methodInfo = tester.addTestMethod("runBreakpointChar"); in testGetValues003_Char()
84 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointShort"); in testGetValues004_Short()
86 MethodInfo methodInfo = tester.addTestMethod("runBreakpointShort"); in testGetValues004_Short()
100 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointInt"); in testGetValues005_Int()
102 MethodInfo methodInfo = tester.addTestMethod("runBreakpointInt"); in testGetValues005_Int()
[all …]
DSetValues002Test.java37 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointBoolean"); in testSetValues001_Boolean()
39 MethodInfo methodInfo = tester.addTestMethod("runBreakpointBoolean"); in testSetValues001_Boolean()
54 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointByte"); in testSetValues002_Byte()
56 MethodInfo methodInfo = tester.addTestMethod("runBreakpointByte"); in testSetValues002_Byte()
71 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointChar"); in testSetValues003_Char()
73 MethodInfo methodInfo = tester.addTestMethod("runBreakpointChar"); in testSetValues003_Char()
88 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointShort"); in testSetValues004_Short()
90 MethodInfo methodInfo = tester.addTestMethod("runBreakpointShort"); in testSetValues004_Short()
105 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointInt"); in testSetValues005_Int()
107 MethodInfo methodInfo = tester.addTestMethod("runBreakpointInt"); in testSetValues005_Int()
[all …]
DJDWPStackFrameAccessTest.java87 static class MethodInfo { class in JDWPStackFrameAccessTest
91 MethodInfo(String methodName) { in MethodInfo() method in JDWPStackFrameAccessTest.MethodInfo
127 private final List<MethodInfo> testedMethods = new ArrayList<MethodInfo>();
137 public List<? extends MethodInfo> getTestedMethods() { in getTestedMethods()
141 public MethodInfo addTestMethod(String methodName) { in addTestMethod()
142 MethodInfo methodInfo = new MethodInfo(methodName); in addTestMethod()
165 protected void runStackFrameTest(StackFrameTester tester, MethodInfo suspensionMethodInfo) { in runStackFrameTest()
232 MethodInfo suspensionMethodInfo, boolean firstSuspension) { in checkStackFrame()
233 for (MethodInfo methodInfo : tester.getTestedMethods()) { in checkStackFrame()
/external/doclava/src/com/google/doclava/
DClassInfo.java147 ArrayList<MethodInfo> constructors, ArrayList<MethodInfo> methods, in init()
148 ArrayList<MethodInfo> annotationElements, ArrayList<FieldInfo> fields, in init()
551 public ArrayList<MethodInfo> allConstructors() { in allConstructors()
555 public ArrayList<MethodInfo> constructors() { in constructors()
558 return new ArrayList<MethodInfo>(); in constructors()
561 mConstructors = new ArrayList<MethodInfo>(); in constructors()
562 for (MethodInfo m : mAllConstructors) { in constructors()
568 Collections.sort(mConstructors, MethodInfo.comparator); in constructors()
624 public ArrayList<MethodInfo> methods() { in methods()
626 TreeMap<String, MethodInfo> all = new TreeMap<String, MethodInfo>(); in methods()
[all …]
DAuxSource.java22 public TagInfo[] methodAuxTags(MethodInfo method); in methodAuxTags()
23 public TagInfo[] paramAuxTags(MethodInfo method, ParameterInfo param, String comment); in paramAuxTags()
24 public TagInfo[] returnAuxTags(MethodInfo method); in returnAuxTags()
39 public TagInfo[] methodAuxTags(MethodInfo method) { in methodAuxTags()
44 public TagInfo[] paramAuxTags(MethodInfo method, ParameterInfo param, String comment) { in paramAuxTags()
49 public TagInfo[] returnAuxTags(MethodInfo method) { in returnAuxTags()
DConverter.java136 new ArrayList<MethodInfo>(Arrays.asList( in initClass()
138 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(c.methods(false)))), in initClass()
139 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(annotationElements))), in initClass()
149 new ArrayList<MethodInfo>(Arrays.asList(Converter.getHiddenMethods(c.methods(false))))); in initClass()
151 … new ArrayList<MethodInfo>(Arrays.asList(Converter.getRemovedMethods(c.methods(false))))); in initClass()
154 new ArrayList<MethodInfo>(Converter.convertAllMethods(c.constructors(false)))); in initClass()
156 new ArrayList<MethodInfo>(Converter.convertAllMethods(c.methods(false)))); in initClass()
163 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertNonWrittenConstructors( in initClass()
360 private static MethodInfo[] getHiddenMethods(MethodDoc[] methods) { in getHiddenMethods()
362 ArrayList<MethodInfo> hiddenMethods = new ArrayList<MethodInfo>(); in getHiddenMethods()
[all …]
DStubs.java176 for (MethodInfo m : cl.selfMethods()) { in writeStubsAndApi()
223 for (MethodInfo m : cl.annotationElements()) { in writeStubsAndApi()
518 private static void cantStripThis(ArrayList<MethodInfo> mInfos, HashSet<ClassInfo> notStrippable, in cantStripThis()
523 for (MethodInfo mInfo : mInfos) { in cantStripThis()
765 for (MethodInfo method : cl.constructors()) { in writeClass()
802 for (MethodInfo method : cl.allSelfMethods()) { in writeClass()
819 List<MethodInfo> hiddenAndRemovedMethods = cl.getHiddenMethods(); in writeClass()
821 for (MethodInfo method : hiddenAndRemovedMethods) { in writeClass()
822 MethodInfo overriddenMethod = in writeClass()
835 for (MethodInfo element : cl.annotationElements()) { in writeClass()
[all …]
DLinter.java21 public void lintMethod(MethodInfo method); in lintMethod()
22 public void lintParameter(MethodInfo method, ParameterInfo param, SourcePositionInfo position, in lintParameter()
32 public void lintMethod(MethodInfo method) { in lintMethod()
36 public void lintParameter(MethodInfo method, ParameterInfo param, SourcePositionInfo position, in lintParameter()
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.java34 public class MethodInfo extends MemberInfo implements AbstractMethodInfo, Resolvable { class
35 public static final Comparator<MethodInfo> comparator = new Comparator<MethodInfo>() {
37 public int compare(MethodInfo a, MethodInfo b) {
49 MethodInfo m = findOverriddenMethod(name(), signature()); in inherited()
69 public MethodInfo findOverriddenMethod(String name, String signature) { in findOverriddenMethod()
81 for (MethodInfo me : iface.methods()) { in findOverriddenMethod()
103 public MethodInfo findRealOverriddenMethod(String name, String signature, HashSet notStrippable) { in findRealOverriddenMethod()
119 for (MethodInfo me : iface.methods()) { in findRealOverriddenMethod()
130 public MethodInfo findPredicateOverriddenMethod(Predicate<MemberInfo> predicate) { in findPredicateOverriddenMethod()
143 for (MethodInfo method : clazz.getExhaustiveMethods()) { in findPredicateOverriddenMethod()
[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.java160 for (MethodInfo constructor : doc.constructors()) { in versionConstructors()
170 MethodInfo specConstructor = spec.allConstructorsMap().get(constructor.getHashableName()); in versionConstructors()
206 for (MethodInfo method : doc.methods()) { in versionMethods()
212 MethodInfo specMethod = spec.allMethods().get(method.getHashableName()); in versionMethods()
253 for (MethodInfo constructor : missingVersions(claz.constructors())) { in warnForMissingVersions()
258 for (MethodInfo method : missingVersions(claz.methods())) { in warnForMissingVersions()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DReflectionUtil.cs83 internal static Func<IMessage, object> CreateFuncIMessageObject(MethodInfo method) =>
94 internal static Func<IMessage, int> CreateFuncIMessageInt32(MethodInfo method) =>
103 internal static Action<IMessage, object> CreateActionIMessageObject(MethodInfo method) =>
112 internal static Action<IMessage> CreateActionIMessage(MethodInfo method) =>
115 internal static Func<IMessage, bool> CreateFuncIMessageBool(MethodInfo method) =>
138 Func<IMessage, int> CreateFuncIMessageInt32(MethodInfo method); in CreateFuncIMessageInt32()
139 Action<IMessage> CreateActionIMessage(MethodInfo method); in CreateActionIMessage()
140 Func<IMessage, object> CreateFuncIMessageObject(MethodInfo method); in CreateFuncIMessageObject()
141 Action<IMessage, object> CreateActionIMessageObject(MethodInfo method); in CreateActionIMessageObject()
142 Func<IMessage, bool> CreateFuncIMessageBool(MethodInfo method); in CreateFuncIMessageBool()
[all …]
/external/javassist/src/main/javassist/compiler/
DAccessorMaker.java33 import javassist.bytecode.MethodInfo;
53 public String getConstructor(CtClass c, String desc, MethodInfo orig) in getConstructor()
66 MethodInfo minfo in getConstructor()
67 = new MethodInfo(cp, MethodInfo.nameInit, consDesc); in getConstructor()
81 code.addInvokespecial(clazz, MethodInfo.nameInit, desc); in getConstructor()
112 MethodInfo orig) in getMethodAccessor()
125 MethodInfo minfo in getMethodAccessor()
126 = new MethodInfo(cp, accName, accDesc); in getMethodAccessor()
163 public MethodInfo getFieldGetter(FieldInfo finfo, boolean is_static) in getFieldGetter()
170 return (MethodInfo)res; // already exists. in getFieldGetter()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DServiceConfigInterceptor.java56 final AtomicReference<Map<String, MethodInfo>> serviceMethodMap
57 = new AtomicReference<Map<String, MethodInfo>>();
59 final AtomicReference<Map<String, MethodInfo>> serviceMap
60 = new AtomicReference<Map<String, MethodInfo>>();
77 Map<String, MethodInfo> newServiceMethodConfigs = new HashMap<String, MethodInfo>(); in handleUpdate()
78 Map<String, MethodInfo> newServiceConfigs = new HashMap<String, MethodInfo>(); in handleUpdate()
92 MethodInfo info = new MethodInfo( in handleUpdate()
130 static final class MethodInfo { class in ServiceConfigInterceptor
143 MethodInfo( in MethodInfo() method in ServiceConfigInterceptor.MethodInfo
182 if (!(other instanceof MethodInfo)) { in equals()
[all …]
/external/javassist/src/main/javassist/bytecode/
DClassFile.java67 List<MethodInfo> methods;
211 methods = new ArrayList<MethodInfo>(); in ClassFile()
241 for (MethodInfo minfo:methods) in compact()
296 for (MethodInfo minfo:methods) in prune()
425 for (MethodInfo minfo:methods) in setSuperclass()
460 for (MethodInfo minfo :methods) { in renameClass()
491 for (MethodInfo minfo:methods) { in renameClass()
512 for (MethodInfo minfo:methods) { in getRefClasses()
627 public List<MethodInfo> getMethods() { in getMethods()
637 public MethodInfo getMethod(String name) { in getMethod()
[all …]
DMethodInfo.java56 public class MethodInfo { class
82 private MethodInfo(ConstPool cp) { in MethodInfo() method in MethodInfo
99 public MethodInfo(ConstPool cp, String methodname, String desc) { in MethodInfo() method in MethodInfo
107 MethodInfo(ConstPool cp, DataInputStream in) throws IOException { in MethodInfo() method in MethodInfo
131 public MethodInfo(ConstPool cp, String methodname, MethodInfo src, in MethodInfo() method in MethodInfo
541 private void read(MethodInfo src, String methodname, Map<String,String> classnames) { in read()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DSdkStore.java313 private final Map<MethodInfo, MethodExtraInfo> methods = new HashMap<>();
314 private final Map<MethodInfo, MethodExtraInfo> erasedParamTypesMethods = new HashMap<>();
322 MethodInfo methodInfo = new MethodInfo(method); in ClassInfo()
330 MethodInfo methodInfo = new MethodInfo(methodElement); in findMethod()
340 static class MethodInfo { class in SdkStore
345 public MethodInfo(MethodNode method) { in MethodInfo() method in SdkStore.MethodInfo
353 public MethodInfo(String name, int size) { in MethodInfo() method in SdkStore.MethodInfo
361 public MethodInfo(ExecutableElement methodElement) { in MethodInfo() method in SdkStore.MethodInfo
383 public MethodInfo erase() { in erase()
384 return new MethodInfo(name, paramTypes.size()); in erase()
[all …]
/external/javassist/src/main/javassist/
DCtConstructor.java26 import javassist.bytecode.MethodInfo;
45 protected CtConstructor(MethodInfo minfo, CtClass declaring) { in CtConstructor()
65 this((MethodInfo)null, declaring); in CtConstructor()
68 methodInfo = new MethodInfo(cp, "<init>", desc); in CtConstructor()
109 this((MethodInfo)null, declaring); in CtConstructor()
137 : ("." + MethodInfo.nameClinit + "()")); in getLongName()
149 return MethodInfo.nameClinit; in getName()
366 MethodInfo minfo = method.getMethodInfo2(); in toMethod()
DCtNewMethod.java25 import javassist.bytecode.MethodInfo;
234 MethodInfo minfo = new MethodInfo(cp, methodName, desc); in getter()
277 MethodInfo minfo = new MethodInfo(cp, methodName, desc); in setter()
341 MethodInfo deleInfo = delegate.getMethodInfo2(); in delegator0()
345 MethodInfo minfo = new MethodInfo(cp, methodName, desc); in delegator0()
/external/turbine/java/com/google/turbine/binder/
DCanonicalTypeBinder.java24 import com.google.turbine.binder.bound.TypeBoundClass.MethodInfo;
66 ImmutableList<MethodInfo> methods = in bind()
108 private static ImmutableList<MethodInfo> methods( in methods()
113 ImmutableList<MethodInfo> methods) { in methods()
114 ImmutableList.Builder<MethodInfo> result = ImmutableList.builder(); in methods()
115 for (MethodInfo base : methods) { in methods()
126 new MethodInfo( in methods()
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java50 import javassist.bytecode.MethodInfo;
1028 MethodInfo minfo = new MethodInfo(cp, "<clinit>", "()V"); in addClassInitializer()
1085 MethodInfo minfo = new MethodInfo(cp, HANDLER_SETTER, in addSetter()
1100 MethodInfo minfo = new MethodInfo(cp, HANDLER_GETTER, in addGetter()
1145 MethodInfo delegator in override()
1152 MethodInfo forwarder in override()
1169 MethodInfo m = makeConstructor(thisClassName, c, cp, superClass, doHandlerInit); in makeConstructors()
1314 private static MethodInfo makeConstructor(String thisClassName, Constructor<?> cons, in makeConstructor()
1318 MethodInfo minfo = new MethodInfo(cp, "<init>", desc); in makeConstructor()
1355 private MethodInfo makeDelegator(Method meth, String 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/llvm/include/llvm/DebugInfo/CodeView/
DFieldListRecordBuilder.h19 class MethodInfo {
21 MethodInfo() : Access(), Kind(), Options(), Type(), VTableSlotOffset(-1) {} in MethodInfo() function
23 MethodInfo(MemberAccess Access, MethodKind Kind, MethodOptions Options, in MethodInfo() function
/external/desugar/java/com/google/devtools/build/android/desugar/
DInvokeDynamicLambdaMethodCollector.java30 private final ImmutableSet.Builder<MethodInfo> lambdaMethodsUsedInInvokeDynamic =
47 public ImmutableSet<MethodInfo> getLambdaMethodsUsedInInvokeDynamics() { in getLambdaMethodsUsedInInvokeDynamics()
78 MethodInfo.create(handle.getOwner(), handle.getName(), handle.getDesc())); in visitInvokeDynamicInsn()

123456