diff options
author | aclement <aclement> | 2010-02-24 18:34:16 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-02-24 18:34:16 +0000 |
commit | 2823c921c4b7ac0d321bfdb0a65e10686b7a0f1a (patch) | |
tree | f1aecc8296cfbecbf4d3406adba4602ce335ded7 /util | |
parent | d97b948db1a8481548bc420cbe8c364f1b38c6a9 (diff) | |
download | aspectj-2823c921c4b7ac0d321bfdb0a65e10686b7a0f1a.tar.gz aspectj-2823c921c4b7ac0d321bfdb0a65e10686b7a0f1a.zip |
303758: fixes
Diffstat (limited to 'util')
-rw-r--r-- | util/src/org/aspectj/util/GenericSignature.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/util/src/org/aspectj/util/GenericSignature.java b/util/src/org/aspectj/util/GenericSignature.java index 0e2433abd..bfefc007e 100644 --- a/util/src/org/aspectj/util/GenericSignature.java +++ b/util/src/org/aspectj/util/GenericSignature.java @@ -22,9 +22,9 @@ public class GenericSignature { * structure holding a parsed class signature */ public static class ClassSignature { - public FormalTypeParameter[] formalTypeParameters = new FormalTypeParameter[0]; + public FormalTypeParameter[] formalTypeParameters = FormalTypeParameter.NONE; public ClassTypeSignature superclassSignature; - public ClassTypeSignature[] superInterfaceSignatures = new ClassTypeSignature[0]; + public ClassTypeSignature[] superInterfaceSignatures = ClassTypeSignature.NONE; public String toString() { StringBuffer ret = new StringBuffer(); @@ -78,6 +78,7 @@ public class GenericSignature { * structure capturing a FormalTypeParameter from the Signature grammar */ public static class FormalTypeParameter { + public static final FormalTypeParameter[] NONE = new FormalTypeParameter[0]; public String identifier; public FieldTypeSignature classBound; public FieldTypeSignature[] interfaceBounds; @@ -133,6 +134,8 @@ public class GenericSignature { } public static class ClassTypeSignature extends FieldTypeSignature { + + public static final ClassTypeSignature[] NONE = new ClassTypeSignature[0]; public String classSignature; public SimpleClassTypeSignature outerType; public SimpleClassTypeSignature[] nestedTypes; |