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

123456

/openjdk7/jdk/test/java/lang/instrument/ilib/
H A DInfo.java29 final String methodName; field in class:Info
32 Info(int counter, String className, String methodName, int location) { argument
35 this.methodName = methodName;
H A DInjector.java27 byte[] bytecodes(String className, String methodName, int location); argument
H A DInject.java82 public byte[] bytecodes(String className, String methodName, int location) { argument
102 public byte[] bytecodes(String className, String methodName, int location) { argument
136 dataOut.writeUTF(info.methodName);
141 public byte[] bytecodes(String className, String methodName, int location) { argument
144 infoList.add(new Info(counter, className, methodName, location));
290 String methodName = c.constantPoolString(nameIndex);
297 copyAttrForMethod(methodName, accessFlags);
305 String methodName = c.constantPoolString(nameIndex);
306 String wrappedMethodName = options.wrappedPrefix + methodName;
317 copyAttrForMethod(methodName, accessFlag
361 copyAttrForMethod(String methodName, int accessFlags) argument
397 copyCodeAttr(String methodName) argument
680 addMethodToConstantPool(int classIndex, String methodName, String descr) argument
[all...]
/openjdk7/jdk/src/share/demo/jvmti/minst/
H A DMinst.java62 String methodName = "Unknown";
68 methodName = location.getMethodName();
71 className + "." + methodName + "()");
/openjdk7/jdk/src/share/classes/java/lang/
H A DStackTraceElement.java45 private String methodName; field in class:StackTraceElement
55 * @param methodName the name of the method containing the execution point
66 * {@code methodName} is null
69 public StackTraceElement(String declaringClass, String methodName, argument
72 this.methodName = Objects.requireNonNull(methodName, "Method name is null");
131 return methodName;
172 return getClassName() + "." + methodName +
206 Objects.equals(methodName, e.methodName)
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/
H A DStackFrame.java55 private String methodName; field in class:StackFrame
61 public StackFrame(String methodName, String methodSignature, argument
63 this.methodName = methodName;
74 return methodName;
/openjdk7/jdk/src/share/classes/javax/management/
H A DMBeanServerInvocationHandler.java254 final String methodName = method.getName();
263 if (methodName.startsWith("get")
264 && methodName.length() > 3
268 methodName.substring(3));
271 if (methodName.startsWith("is")
272 && methodName.length() > 2
277 methodName.substring(2));
280 if (methodName.startsWith("set")
281 && methodName.length() > 3
284 Attribute attr = new Attribute(methodName
[all...]
/openjdk7/jdk/src/share/classes/java/beans/
H A DExpression.java58 * The {@code target} and the {@code methodName} values should not be {@code null}.
65 * @param methodName the name of the method to invoke on the specified target
70 @ConstructorProperties({"target", "methodName", "arguments"})
71 public Expression(Object target, String methodName, Object[] arguments) { argument
72 super(target, methodName, arguments);
83 * The {@code target} and the {@code methodName} values should not be {@code null}.
91 * @param methodName the name of the method to invoke on the specified target
96 public Expression(Object value, Object target, String methodName, Object[] arguments) { argument
97 this(target, methodName, arguments);
110 * {@code methodName} propert
[all...]
H A DStatement.java72 private final String methodName; field in class:Statement
81 * The {@code target} and the {@code methodName} values should not be {@code null}.
88 * @param methodName the name of the method to invoke on the specified target
91 @ConstructorProperties({"target", "methodName", "arguments"})
92 public Statement(Object target, String methodName, Object[] arguments) { argument
94 this.methodName = methodName;
119 return methodName;
136 * as the {@code methodName} property, and invokes the method on
164 * {@code methodName} propert
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DDocletInvoker.java156 String methodName = "start";
160 retVal = invoke(methodName, null, paramTypes, params);
168 docletClassName, methodName);
180 String methodName = "optionLength";
184 retVal = invoke(methodName, new Integer(0), paramTypes, params);
192 docletClassName, methodName);
204 String methodName = "validOptions";
209 retVal = invoke(methodName, Boolean.TRUE, paramTypes, params);
217 docletClassName, methodName);
229 String methodName
252 invoke(String methodName, Object returnValueIfNonExistent, Class<?>[] paramTypes, Object[] params) argument
[all...]
/openjdk7/jdk/test/com/sun/jdi/
H A DNoLocInfoTest.java106 Method getMethod(String className, String methodName) { argument
114 List meths = refType.methodsByName(methodName);
117 " methods named: " + methodName);
123 void checkLineNumberTable(String className, String methodName) { argument
124 println("GetLineNumberTable for method: " + className + "." + methodName);
125 Method method = getMethod(className, methodName);
138 void checkEmptyLineNumberTable(String className, String methodName) { argument
140 className + "." + methodName);
141 Method method = getMethod(className, methodName);
H A DPopSynchronousTest.java119 StackFrame frameFor(String methodName) throws Exception { argument
124 if (frame.location().method().name().equals(methodName)) {
128 failure("FAIL: " + methodName + " not on stack");
145 int methodIndex(String methodName) { argument
147 if (methodName.equals(calls[i])) {
154 boolean isTop(String methodName) throws Exception { argument
155 return mainThread.frame(0).location().method().name().equals(methodName);
158 void checkTop(String methodName, boolean atStart) throws Exception { argument
162 if (!isTop(methodName)) {
163 failure("FAIL: expected " + methodName
207 resumeTo(String methodName) argument
215 pop(String methodName) argument
222 reenter(String methodName) argument
[all...]
H A DLocalVariableEqual.java127 Method getMethod(String className, String methodName) { argument
135 List meths = refType.methodsByName(methodName);
138 " methods named: " + methodName);
192 void compareAllVariables(String className, String methodName) throws Exception { argument
193 println("compareAllVariables for method: " + className + "." + methodName);
194 Method method = getMethod(className, methodName);
198 println("\n Success: got a list of all method variables: " + methodName);
H A DEarlyReturnNegativeTest.java193 String methodName,
200 Method method = findMethod(rt, methodName, methodSignature);
210 void doEarly(ThreadReference tr, String methodName, Value val) { argument
214 System.out.println("Ok: " + methodName);
221 failure("Expected InvalidTypeException for " + methodName + ", " + val + " but didn't get it.");
226 String methodName = origMethodName.substring(2);
236 if ("shortf".equals(methodName)){
243 } else if ("booleanf".equals(methodName)) {
250 } else if ("intArrayf".equals(methodName)) {
257 } else if ("objectArrayf".equals(methodName)) {
192 setBreakpoint(String clsName, String methodName, String methodSignature) argument
[all...]
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/
H A DPrintCharacterRanges.java48 private static List/*<BooleanRange>*/ recoverBooleanRanges(String methodName) throws Exception { argument
51 Method method = Character.class.getDeclaredMethod(methodName, new Class[] { Character.TYPE });
53 throw new RuntimeException("No method \"" + methodName + "\"(C) found");
94 private static void printBooleanRanges(List/*<BooleanRange>*/ ranges, String methodName) { argument
95 System.out.print(methodName + ":");
103 private static void recoverAndPrintBooleanRanges(String methodName) throws Exception { argument
104 List ranges = recoverBooleanRanges(methodName);
105 printBooleanRanges(ranges, methodName);
124 private static List/*<ShiftRange>*/ recoverShiftRanges(String methodName) throws Exception { argument
128 Method method = Character.class.getDeclaredMethod(methodName, ne
158 printShiftRanges(List ranges, String methodName) argument
175 recoverAndPrintShiftRanges(String methodName) argument
[all...]
/openjdk7/jdk/test/javax/management/monitor/
H A DMBeanServerForwarderInvocationHandler.java55 final String methodName = method.getName();
57 if (methodName.equals("getMBeanServer")) {
61 if (methodName.equals("setMBeanServer")) {
71 if (methodName.equals("getAttribute") && exception != null) {
/openjdk7/jdk/test/javax/xml/jaxp/PrecisionDecimalDV/
H A DXPrecisionDecimalToString.java41 private static final String methodName = "canonicalToStringForHashCode"; field in class:XPrecisionDecimalToString
58 method = type.getDeclaredMethod(methodName, signature);
62 throw new Error("Impossible to find '"+className+"."+methodName+"': "+ x, x);
67 throw new Error("Failed to invoke "+className+"."+methodName+"(\""+
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DFunctionAvailableCall.java109 String methodName = null;
115 methodName = functionName.substring(lastDotIndex+1);
122 methodName = functionName;
125 methodName = _nameOfFunct;
127 if (className == null || methodName == null) {
132 if (methodName.indexOf('-') > 0)
133 methodName = replaceDash(methodName);
148 && methods[i].getName().equals(methodName))
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/org/glassfish/gmbal/
H A DInheritedAttribute.java46 * @InheritedAttribute( methodName="iterator" )
70 * id and methodName must not be empty. If only one is given, the other
73 String methodName() default "" ;
/openjdk7/langtools/test/tools/apt/lib/
H A DTester.java120 protected MethodDeclaration getMethod(String methodName) { argument
122 if (methodName.equals(m.getSimpleName())) {
148 protected AnnotationMirror getAnno(String methodName, String annoType) { argument
149 MethodDeclaration m = getMethod(methodName);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/generator/bean/
H A DMethodWriter.java62 public abstract JMethod declareMethod( JType returnType, String methodName );
64 public final JMethod declareMethod( Class returnType, String methodName ) {
65 return declareMethod( codeModel.ref(returnType), methodName );
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/
H A DAbstractBuilder.java137 * @param methodName the name of the method that we would like to invoke.
141 protected void invokeMethod(String methodName, Class<?>[] paramClasses, argument
145 configuration.root.printError("DEBUG: " + this.getClass().getName() + "." + methodName);
147 Method method = this.getClass().getMethod(methodName, paramClasses);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/privateutil/
H A DPolicyUtils.java65 final String methodName;
69 methodName = stack[methodIndexInStack].getMethodName();
71 methodName = "UNKNOWN METHOD";
74 return methodName;
291 public static <T> T invoke(final Object target, final String methodName, argument
304 return invoke(target, methodName, resultClass, parameters, parameterTypes);
310 public static <T> T invoke(final Object target, final String methodName, final Class<T> resultClass, argument
313 final Method method = target.getClass().getMethod(methodName, parameterTypes);
318 throw LOGGER.logSevereException(new RuntimePolicyUtilsException(createExceptionMessage(target, parameters, methodName), e));
320 throw LOGGER.logSevereException(new RuntimePolicyUtilsException(createExceptionMessage(target, parameters, methodName),
330 createExceptionMessage(final Object target, final Object[] parameters, final String methodName) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/management/openmbean/
H A DCompositeDataInvocationHandler.java159 final String methodName = method.getName();
163 if (methodName.equals("toString") && args == null)
165 else if (methodName.equals("hashCode") && args == null)
167 else if (methodName.equals("equals") && args.length == 1
199 " to match " + methodName;
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKIconFactory.java64 private static DelegatingIcon getIcon(String methodName) { argument
65 DelegatingIcon result = iconsPool.get(methodName);
67 if (methodName == TREE_COLLAPSED_ICON ||
68 methodName == TREE_EXPANDED_ICON)
70 result = new SynthExpanderIcon(methodName);
72 } else if (methodName == TOOL_BAR_HANDLE_ICON) {
75 } else if (methodName == MENU_ARROW_ICON) {
79 result = new DelegatingIcon(methodName);
81 iconsPool.put(methodName, result);
162 DelegatingIcon(String methodName ){
[all...]

Completed in 114 milliseconds

123456