Searched refs:methodName (Results 1 - 25 of 158) sorted by relevance

1234567

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
H A DBreakpoint.java33 public String methodName; field in class:Breakpoint
41 methodName = new String();
54 methodName = method;
/external/mockito/src/org/mockito/internal/invocation/
H A DSerializableMethod.java18 private String methodName; field in class:SerializableMethod
26 methodName = method.getName();
34 return methodName;
55 return declaringClass.getDeclaredMethod(methodName, parameterTypes);
59 "Please report this as a defect with an example of how to reproduce it.", declaringClass, methodName);
64 "Please report this as a defect with an example of how to reproduce it.", declaringClass, methodName);
88 if (methodName == null) {
89 if (other.methodName != null)
91 } else if (!methodName.equals(other.methodName))
[all...]
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/
H A Djunit.stg47 testTreeRuleMethod(methodName,testTreeRuleName,testRuleName,test,tokenType,expecting) ::= <<
48 public void <methodName>() throws Exception {
58 testTreeRuleMethod2(methodName,testTreeRuleName,testRuleName,test,returnType,expecting) ::= <<
59 public void <methodName>() throws Exception {
67 testRuleMethod(isLexicalRule,methodName,testRuleName,test,tokenType,expecting) ::= <<
68 public void <methodName>() throws Exception {
78 testRuleMethod2(methodName,testRuleName,test,returnType,expecting) ::= <<
79 public void <methodName>() throws Exception {
/external/proguard/src/proguard/
H A DGetEnclosingClassChecker.java61 String methodName = methodrefConstant.getName(clazz);
63 if (methodName.equals(ClassConstants.METHOD_NAME_CLASS_GET_ENCLOSING_CLASS) ||
64 methodName.equals(ClassConstants.METHOD_NAME_CLASS_GET_DECLARING_CLASS))
72 methodName + "'");
H A DGetEnclosingMethodChecker.java61 String methodName = methodrefConstant.getName(clazz);
63 if (methodName.equals(ClassConstants.METHOD_NAME_CLASS_GET_ENCLOSING_CONSTRUCTOR) ||
64 methodName.equals(ClassConstants.METHOD_NAME_CLASS_GET_ENCLOSING_METHOD))
72 methodName + "'");
H A DGetSignatureChecker.java63 String methodName = methodrefConstant.getName(clazz);
65 if (methodName.startsWith(ClassConstants.METHOD_NAME_GET_TYPE_PREFIX) ||
66 methodName.startsWith(ClassConstants.METHOD_NAME_GET_GENERIC_PREFIX))
74 methodName + "'");
H A DGetAnnotationChecker.java63 String methodName = methodrefConstant.getName(clazz);
65 if (methodName.equals(ClassConstants.METHOD_NAME_GET_ANNOTATION) ||
66 methodName.equals(ClassConstants.METHOD_NAME_GET_ANNOTATIONS) ||
67 methodName.equals(ClassConstants.METHOD_NAME_GET_DECLARED_ANNOTATIONS) ||
68 methodName.equals(ClassConstants.METHOD_NAME_GET_PARAMETER_ANNOTATIONS))
76 methodName + "'");
/external/javassist/src/main/javassist/convert/
H A DTransformAccessArrayField.java128 String methodName = getMethodName(opcode);
129 if (methodName != null) {
149 int methodref = cp.addMethodrefInfo(mi, methodName, signature);
166 String methodName = null;
169 methodName = names.objectRead();
172 methodName = names.byteOrBooleanRead();
175 methodName = names.charRead();
178 methodName = names.doubleRead();
181 methodName = names.floatRead();
184 methodName
[all...]
H A DTransformReadField.java29 protected String methodClassname, methodName; field in class:TransformReadField
32 String methodClassname, String methodName)
38 this.methodName = methodName;
86 int methodref = cp.addMethodrefInfo(mi, methodName, type);
31 TransformReadField(Transformer next, CtField field, String methodClassname, String methodName) argument
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
H A DOptionalMethod.java34 private final String methodName; field in class:OptionalMethod
42 * @param methodName the name of the method
45 public OptionalMethod(Class<?> returnType, String methodName, Class... methodParams) { argument
47 this.methodName = methodName;
109 throw new AssertionError("Method " + methodName + " not supported for object " + target);
150 if (methodName != null) {
151 method = getPublicMethod(clazz, methodName, methodParams);
163 private static Method getPublicMethod(Class<?> clazz, String methodName, Class[] parameterTypes) { argument
166 method = clazz.getMethod(methodName, parameterType
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
H A DFramesTest.java85 String methodName, classSignature;
89 methodName = getMethodName(frame.loc.classID, frame.loc.methodID);
93 + methodName
139 String methodName, classSignature;
143 methodName = getMethodName(frame.loc.classID, frame.loc.methodID);
147 + methodName
194 String methodName, classSignature;
198 methodName = getMethodName(frame.loc.classID, frame.loc.methodID);
202 + methodName
254 String methodName, classSignatur
[all...]
/external/proguard/src/proguard/obfuscate/
H A DMappingProcessor.java68 * @param methodName the original external method name.
76 String methodName,
72 processMethodMapping(String className, int firstLineNumber, int lastLineNumber, String methodReturnType, String methodName, String methodArguments, String newMethodName) argument
H A DMultiMappingProcessor.java81 String methodName,
91 methodName,
77 processMethodMapping(String className, int firstLineNumber, int lastLineNumber, String methodReturnType, String methodName, String methodArguments, String newMethodName) argument
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
H A DClassHandler.java16 Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, Object[] params) throws Throwable; argument
H A DShadowWrangler.java87 public Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, Object[] params) throws Throwable { argument
88 InvocationPlan invocationPlan = new InvocationPlan(clazz, methodName, instance, paramTypes);
90 reportNoShadowMethodFound(clazz, methodName, paramTypes);
95 throw new I18nException("Method " + methodName + " on class " + clazz.getName() + " is not i18n-safe.");
124 private void reportNoShadowMethodFound(Class clazz, String methodName, String[] paramTypes) { argument
126 System.out.println("No Shadow method found for " + clazz.getSimpleName() + "." + methodName + "(" +
289 private String methodName; field in class:ShadowWrangler.InvocationPlan
296 public InvocationPlan(Class clazz, String methodName, Object instance, String... paramTypes) { argument
299 this.methodName = methodName;
372 findDeclaredShadowClassForMethod(Class<?> originalClass, String methodName, Class<?>[] paramClasses) argument
377 findDeclaringClassForMethod(String methodName, Class<?>[] paramClasses, Class<?> originalClass) argument
402 getMethod(Class<?> clazz, String methodName, Class<?>[] paramClasses) argument
[all...]
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
H A DNumberFormatTest.java78 private NumberFormat getJDKInstance(int type, Locale loc, String[] methodName) { argument
104 if (methodName != null) {
105 methodName[0] = method;
110 private com.ibm.icu.text.NumberFormat getICUInstance(int type, Locale loc, String[] methodName) { argument
136 if (methodName != null) {
137 methodName[0] = method;
175 String[] methodName = new String[1];
179 NumberFormat nf = getJDKInstance(type, iculoc, methodName);
191 + methodName[0] + ") in locale " + loc + " - JDK:" + s1 + " ICU:" + s2);
209 + " NumberFormat(" + methodName[
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
H A DCombinedEventsTestCase.java53 void printMethodLineTable(long classID, String className /* may be null */, String methodName) { argument
54 long methodID = debuggeeWrapper.vmMirror.getMethodID(classID, methodName);
58 + classID + "; Method name = " + methodName);
72 logWriter.println("=== Line Table for method: " + methodName + " ===");
74 logWriter.println("=== Line Table for method: " + methodName + " of class: "
89 logWriter.println("=== End of Line Table " + methodName + " ===");
92 long getMethodStartCodeIndex(long classID, String methodName) { argument
93 long methodID = debuggeeWrapper.vmMirror.getMethodID(classID, methodName);
97 + classID + "; Method name = " + methodName);
116 long getMethodEndCodeIndex(long classID, String methodName) { argument
140 getMethodEntryLocation(long classID, String methodName) argument
169 getMethodEndLocation(long classID, String methodName) argument
[all...]
H A DBreakpoint002Test.java158 private void testBreakpointIn(String testName, String methodName) { argument
164 int breakpointReqID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin(classID, methodName);
165 assertTrue("Failed to install breakpoint in method " + methodName, breakpointReqID != -1);
/external/javassist/src/main/javassist/
H A DCtPrimitiveType.java32 String methodName, String mDesc, int opcode, int atype,
37 getMethodName = methodName;
31 CtPrimitiveType(String name, char desc, String wrapper, String methodName, String mDesc, int opcode, int atype, int size) argument
/external/smali/deodexerant/
H A Ddeodexerant.c38 const char* methodName; member in struct:InlineOperation
89 printf("%s->%s%s\n", item->classDescriptor, item->methodName, item->methodSignature);
/external/javassist/src/main/javassist/bytecode/
H A DEnclosingMethodAttribute.java42 * @param methodName the name of the enclosing method.
46 String methodName, String methodDesc) {
49 int ni = cp.addNameAndTypeInfo(methodName, methodDesc);
101 public String methodName() { method in class:EnclosingMethodAttribute
131 methodName(), methodDescriptor());
45 EnclosingMethodAttribute(ConstPool cp, String className, String methodName, String methodDesc) argument
/external/javassist/src/test/test/javassist/bytecode/analysis/
H A DErrorFinder.java51 String methodName = clazz.getName() + "." + method.getName() + method.getSignature();
52 System.out.println("START: " + methodName);
58 System.out.println("SUCCESS: " + methodName + " - " + (System.currentTimeMillis() - time));
60 System.out.println("FAIL: " + methodName + " - " + (e.getMessage() == null ? e.getClass().getName() : e.getMessage()));
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/sample/
H A DModuleTestSample.java65 protected boolean validateMethod(String methodName) { argument
66 return methodName.equals("Test05") ? true : super.validateMethod(methodName);
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
H A DMethodDelegate.java116 Object newInstance(Class delegateClass, String methodName, Class iface); argument
119 public static MethodDelegate createStatic(Class targetClass, String methodName, Class iface) { argument
122 gen.setMethodName(methodName);
127 public static MethodDelegate create(Object target, String methodName, Class iface) { argument
130 gen.setMethodName(methodName);
159 private String methodName; field in class:MethodDelegate.Generator
175 public void setMethodName(String methodName) { argument
176 this.methodName = methodName;
189 Object key = KEY_FACTORY.newInstance(targetClass, methodName, ifac
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
H A DThisObjectTest.java111 String methodName = debuggeeWrapper.vmMirror.getMethodName(frameIDs[i].location.classID, frameIDs[i].location.methodID);
112 logWriter.println("==> method name=" + methodName);
142 if (KNOWN_METHOD_NAMES[j].equals(methodName)) {
146 ("## FAILURE: StackFrame.ThisObject returned NULL ObjectID for known method: " + methodName);
148 fail("StackFrame.ThisObject returned NULL ObjectID for known method: " + methodName);
153 ("## FAILURE: Returned unexpected ObjectID for known method: " + methodName);
157 fail("Returned unexpected ObjectID for known method: " + methodName);
165 ("## FAILURE: StackFrame.ThisObject returned not OBJECT_TAG for known method: " + methodName);
167 fail("StackFrame.ThisObject returned not OBJECT_TAG for known method: " + methodName);
173 if (mainMethod.equals(methodName)) {
[all...]

Completed in 2658 milliseconds

1234567