com.sun.tools.javac.model
static final class: AnnotationProxyMaker.MirroredTypesExceptionProxy [javadoc |
source]
java.lang.Object
sun.reflect.annotation.ExceptionProxy
com.sun.tools.javac.model.AnnotationProxyMaker$MirroredTypesExceptionProxy
All Implemented Interfaces:
java$io$Serializable
ExceptionProxy for MirroredTypesException.
The toString, hashCode, and equals methods foward to the underlying
types.
Field Summary |
---|
static final long | serialVersionUID | |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from com.sun.tools.javac.model.AnnotationProxyMaker$MirroredTypesExceptionProxy Detail: |
public boolean equals(Object obj) {
return types != null &&
obj instanceof MirroredTypesExceptionProxy &&
types.equals(
((MirroredTypesExceptionProxy) obj).types);
}
|
protected RuntimeException generateException() {
return new MirroredTypesException(types);
}
|
public int hashCode() {
return (types != null ? types : typeStrings).hashCode();
}
|
public String toString() {
return typeStrings;
}
|