<s> package org . eclipse . jdt . internal . compiler . env ; import java . util . Arrays ; import org . eclipse . jdt . core . compiler . CharOperation ; public class ClassSignature { char [ ] className ; public ClassSignature ( final char [ ] className ) { this . className = className ; } public char [ ] getTypeName ( ) { return this . className ; } public String toString ( ) { StringBuffer buffer = new StringBuffer ( ) ; buffer . append ( this . className ) ; buffer . append ( ".class" ) ; return buffer . toString ( ) ; } public int hashCode ( ) { final int prime = 31 ; int result = 1 ; result = prime * result + CharOperation . hashCode ( this . className ) ; return result ; } public boolean equals ( Object obj ) { if ( this == obj ) { return true ; } if ( obj == null ) { return false ; } if ( getClass ( ) != obj . getClass ( ) ) { return false ; } ClassSignature other = ( ClassSignature ) obj ; return Arrays . equals ( this . className , other . className ) ; } } </s>