Generated by
JDiff

Class com.google.inject.Key

Documentation changed from old to new.

Changed from abstract to non-abstract.

Added Methods
boolean hasAttributes() Returns true if this key has annotation attributes.
Key<?> ofType(Type) Returns a new key of the specified type with the same annotation as this key.
Key<T> ofType(TypeLiteral<T>) Returns a new key of the specified type with the same annotation as this key.
Key<T> ofType(Class<T>) Returns a new key of the specified type with the same annotation as this key.
Key<T> withoutAttributes() Returns this key without annotation attributes, i.e.
 

Changed Methods
boolean equals(Object) Change from non-final to final.
 
Annotation getAnnotation() Change from non-final to final.
Gets the annotation.
Class<Annotation> getAnnotationType() Change from non-final to final.
Gets the annotation type.
TypeLiteral<T> getTypeLiteral() Change from non-final to final.
Gets the key type.
int hashCode() Change from non-final to final.
 
String toString() Change from non-final to final.