Commit 2035efe7 by Dalibor Topic Committed by Michael Koch

IntrospectionIncubator.java (addMethod): Add public static methods.

2003-10-29  Dalibor Topic  <robilad@kaffe.org>

	* gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
	static methods.

From-SVN: r73043
parent 58c9703f
2003-10-29 Dalibor Topic <robilad@kaffe.org>
* gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
static methods.
2003-10-29 Julian Dolby <dolby@us.ibm.com> 2003-10-29 Julian Dolby <dolby@us.ibm.com>
* javax/naming/spi/NamingManager.java (getContinuationContext): Call * javax/naming/spi/NamingManager.java (getContinuationContext): Call
......
...@@ -67,7 +67,7 @@ public class IntrospectionIncubator { ...@@ -67,7 +67,7 @@ public class IntrospectionIncubator {
/* Paving the way for automatic Introspection */ /* Paving the way for automatic Introspection */
public void addMethod(Method method) { public void addMethod(Method method) {
if(Modifier.isPublic(method.getModifiers()) && !Modifier.isStatic(method.getModifiers())) { if(Modifier.isPublic(method.getModifiers())) {
String name = ClassHelper.getTruncatedName(method.getName()); String name = ClassHelper.getTruncatedName(method.getName());
Class retType = method.getReturnType(); Class retType = method.getReturnType();
Class[] params = method.getParameterTypes(); Class[] params = method.getParameterTypes();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment