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
This commit is contained in:
committed by
Michael Koch
parent
58c9703fe3
commit
2035efe7fb
@@ -67,7 +67,7 @@ public class IntrospectionIncubator {
|
||||
|
||||
/* Paving the way for automatic Introspection */
|
||||
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());
|
||||
Class retType = method.getReturnType();
|
||||
Class[] params = method.getParameterTypes();
|
||||
|
||||
Reference in New Issue
Block a user