projects
/
org.ibex.classgen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
formatting only: added spaces after commas
[org.ibex.classgen.git]
/
src
/
org
/
ibex
/
classgen
/
FieldGen.java
diff --git
a/src/org/ibex/classgen/FieldGen.java
b/src/org/ibex/classgen/FieldGen.java
index
e4f6763
..
330849b
100644
(file)
--- a/
src/org/ibex/classgen/FieldGen.java
+++ b/
src/org/ibex/classgen/FieldGen.java
@@
-14,7
+14,7
@@
public class FieldGen implements CGConst {
private Object constantValue;
FieldGen(DataInput in) { throw new Error("Brian is lame"); }
private Object constantValue;
FieldGen(DataInput in) { throw new Error("Brian is lame"); }
- FieldGen(ClassGen owner, String name,Type type, int flags) {
+ FieldGen(ClassGen owner, String name, Type type, int flags) {
if((flags & ~(ACC_PUBLIC|ACC_PRIVATE|ACC_PROTECTED|ACC_VOLATILE|ACC_TRANSIENT|ACC_STATIC|ACC_FINAL)) != 0)
throw new IllegalArgumentException("invalid flags");
this.cp = owner.cp;
if((flags & ~(ACC_PUBLIC|ACC_PRIVATE|ACC_PROTECTED|ACC_VOLATILE|ACC_TRANSIENT|ACC_STATIC|ACC_FINAL)) != 0)
throw new IllegalArgumentException("invalid flags");
this.cp = owner.cp;
@@
-36,7
+36,7
@@
public class FieldGen implements CGConst {
void finish() {
if(constantValue != null && !attrs.contains("ConstantValue"))
void finish() {
if(constantValue != null && !attrs.contains("ConstantValue"))
- attrs.add("ConstantValue",cp.add(constantValue));
+ attrs.add("ConstantValue", cp.add(constantValue));
}
void dump(DataOutput o) throws IOException {
}
void dump(DataOutput o) throws IOException {