Package org.eclipse.sisu.inject
Class LazyBeanEntry.JsrNamed
- java.lang.Object
-
- org.eclipse.sisu.inject.LazyBeanEntry.JsrNamed
-
- All Implemented Interfaces:
java.lang.annotation.Annotation
- Enclosing class:
- LazyBeanEntry<Q extends java.lang.annotation.Annotation,T>
private static final class LazyBeanEntry.JsrNamed extends java.lang.Object implements com.google.inject.name.Named, javax.inject.Named
Implementation of @Named
that can also act like @Named
.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
value
-
Constructor Summary
Constructors Constructor Description JsrNamed(com.google.inject.name.Named named)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends java.lang.annotation.Annotation>
annotationType()
boolean
equals(java.lang.Object rhs)
int
hashCode()
java.lang.String
toString()
java.lang.String
value()
-
-
-
Method Detail
-
value
public java.lang.String value()
-
annotationType
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
- Specified by:
annotationType
in interfacejava.lang.annotation.Annotation
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.lang.annotation.Annotation
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object rhs)
- Specified by:
equals
in interfacejava.lang.annotation.Annotation
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacejava.lang.annotation.Annotation
- Overrides:
toString
in classjava.lang.Object
-
-