diff options
Diffstat (limited to 'src/java/com/sun/gluegen/ConstantDefinition.java')
-rw-r--r-- | src/java/com/sun/gluegen/ConstantDefinition.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/com/sun/gluegen/ConstantDefinition.java b/src/java/com/sun/gluegen/ConstantDefinition.java index 60f5cef..44ce8e0 100644 --- a/src/java/com/sun/gluegen/ConstantDefinition.java +++ b/src/java/com/sun/gluegen/ConstantDefinition.java @@ -42,15 +42,18 @@ public class ConstantDefinition { private HashSet aliasedNames; private String name; private String value; + private boolean isEnum; private String enumName; private Set/*<String>*/ aliases; public ConstantDefinition(String name, String value, + boolean isEnum, String enumName) { this.origName = name; this.name = name; this.value = value; + this.isEnum = isEnum; this.enumName = enumName; this.aliasedNames=new HashSet(); } @@ -104,6 +107,8 @@ public class ConstantDefinition { enumeration, or if the enum was anonymous. */ public String getEnumName() { return enumName; } + public boolean isEnum() { return isEnum; } + public Set/*<String>*/ getAliases() { return aliases; } |