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:
50a3448
)
renamed Type.Array.arrayify to _initHelper
author
adam
<adam@megacz.com>
Fri, 3 Jun 2005 00:52:25 +0000
(
00:52
+0000)
committer
adam
<adam@megacz.com>
Fri, 3 Jun 2005 00:52:25 +0000
(
00:52
+0000)
darcs-hash:
20050603005225
-5007d-
c268f473c75e4e52689b5c660b16e6406b5e4249
.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
01276db
..
29d946a
100644
(file)
--- a/
src/org/ibex/classgen/Type.java
+++ b/
src/org/ibex/classgen/Type.java
@@
-95,10
+95,10
@@
public class Type {
}
public static class Array extends Object {
}
public static class Array extends Object {
- protected Array(Type t, int dim) { super(arrayify(t, dim)); }
+ protected Array(Type t, int dim) { super(_initHelper(t, dim)); }
public Type.Array asArray() { return this; }
public boolean isArray() { return true; }
public Type.Array asArray() { return this; }
public boolean isArray() { return true; }
- private static String arrayify(Type t, int dim) {
+ private static String _initHelper(Type t, int dim) {
StringBuffer sb = new StringBuffer(t.descriptor.length() + dim);
for(int i=0;i<dim;i++) sb.append("[");
sb.append(t.descriptor);
StringBuffer sb = new StringBuffer(t.descriptor.length() + dim);
for(int i=0;i<dim;i++) sb.append("[");
sb.append(t.descriptor);