1 11 package org.eclipse.jdt.internal.compiler.env; 12 13 17 public class EnumConstantSignature { 18 19 char[] typeName; 20 char[] constName; 21 22 public EnumConstantSignature(char[] typeName, char[] constName) { 23 this.typeName = typeName; 24 this.constName = constName; 25 } 26 27 30 public char[] getTypeName() { 31 return this.typeName; 32 } 33 34 37 public char[] getEnumConstantName() { 38 return this.constName; 39 } 40 41 public String toString() { 42 StringBuffer buffer = new StringBuffer (); 43 buffer.append(this.typeName); 44 buffer.append('.'); 45 buffer.append(this.constName); 46 return buffer.toString(); 47 } 48 } 49 | Popular Tags |