projects
/
org.ibex.classgen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added Type.Array
[org.ibex.classgen.git]
/
src
/
org
/
ibex
/
classgen
/
MethodRef.java
diff --git
a/src/org/ibex/classgen/MethodRef.java
b/src/org/ibex/classgen/MethodRef.java
index
75d58f3
..
52ccf2f
100644
(file)
--- a/
src/org/ibex/classgen/MethodRef.java
+++ b/
src/org/ibex/classgen/MethodRef.java
@@
-17,7
+17,7
@@
public class MethodRef extends ClassGen.FieldOrMethodRef {
@see #MethodRef(Type.Object,String,Type,Type[])
*/
public MethodRef(String s, String name, Type ret, Type[] args) {
@see #MethodRef(Type.Object,String,Type,Type[])
*/
public MethodRef(String s, String name, Type ret, Type[] args) {
- this(new Type.Object(s),name,ret,args);
+ this(Type.fromDescriptor(s).asObject(), name, ret, args);
}
MethodRef(MethodRef i) { super(i); }
}
MethodRef(MethodRef i) { super(i); }