|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
public class AnnotatedElementImpl
Implementation of an annotated element
| Constructor Summary | |
|---|---|
AnnotatedElementImpl(java.lang.String name)
|
|
| Method Summary | |
|---|---|
AnnotationModel |
getAnnotation(java.lang.String name)
Returns an annotation model if the type is annotated with the passed annotation name |
java.util.Collection<AnnotationModel> |
getAnnotations()
Returns a unmodifiable set of annotations that are present on this annotated element. |
java.lang.String |
getName()
Annotated element have a name, which vary depending on the actual subclass type. |
protected void |
print(java.lang.StringBuffer sb)
|
java.lang.String |
shortDesc()
Construct and return a short description name that can be used to display the instance value |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotatedElementImpl(java.lang.String name)
| Method Detail |
|---|
public java.lang.String getName()
AnnotatedElementClass.getName()
getName in interface AnnotatedElementpublic java.util.Collection<AnnotationModel> getAnnotations()
AnnotatedElement
getAnnotations in interface AnnotatedElementpublic AnnotationModel getAnnotation(java.lang.String name)
AnnotatedElement
getAnnotation in interface AnnotatedElementname - the annotation name
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String shortDesc()
AnnotatedElement
shortDesc in interface AnnotatedElementprotected void print(java.lang.StringBuffer sb)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||