projects
/
org.ibex.classgen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9603ae5
)
fix the field type descriptor bug (again :) )
author
brian
<brian@brianweb.net>
Sat, 2 Jul 2005 21:56:18 +0000
(21:56 +0000)
committer
brian
<brian@brianweb.net>
Sat, 2 Jul 2005 21:56:18 +0000
(21:56 +0000)
darcs-hash:
20050702215618
-24bed-
73449f508f9d18692bfc1abb45f36197c49f355a
.gz
src/org/ibex/classgen/Type.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/classgen/Type.java
b/src/org/ibex/classgen/Type.java
index
492986d
..
ee9ebc9
100644
(file)
--- a/
src/org/ibex/classgen/Type.java
+++ b/
src/org/ibex/classgen/Type.java
@@
-148,7
+148,7
@@
public class Type implements CGConst {
public class Field extends Member {
public final Type type;
private Field(String name, Type t) { super(name); this.type = t; }
public class Field extends Member {
public final Type type;
private Field(String name, Type t) { super(name); this.type = t; }
- public String getDescriptor() { return name; }
+ public String getDescriptor() { return type.getDescriptor(); }
public Type getType() { return type; }
public String debugToString() { return getDeclaringClass()+"."+name+"["+type+"]"; }
}
public Type getType() { return type; }
public String debugToString() { return getDeclaringClass()+"."+name+"["+type+"]"; }
}