com.sun.xml.bind.v2.model.annotation.AnnotationReader<T,C,F,M>RuntimeInlineAnnotationReaderpublic abstract class AbstractInlineAnnotationReaderImpl<T,C,F,M>
extends java.lang.Object
implements com.sun.xml.bind.v2.model.annotation.AnnotationReader<T,C,F,M>
AnnotationReader that reads annotation from classes,
not from external binding files.
This is meant to be used as a convenient partial implementation.| Constructor | Description |
|---|---|
AbstractInlineAnnotationReaderImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract java.lang.String |
fullName(M m) |
Gets the fully-qualified name of the method.
|
com.sun.xml.bind.v2.model.core.ErrorHandler |
getErrorHandler() |
Always return a non-null valid
ErrorHandler |
<A extends java.lang.annotation.Annotation> |
getMethodAnnotation(java.lang.Class<A> annotation,
M getter,
M setter,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
|
boolean |
hasMethodAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
java.lang.String propertyName,
M getter,
M setter,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
|
void |
setErrorHandler(com.sun.xml.bind.v2.model.core.ErrorHandler errorHandler) |
getAllFieldAnnotations, getAllMethodAnnotations, getClassAnnotation, getClassArrayValue, getClassValue, getFieldAnnotation, getMethodAnnotation, getMethodParameterAnnotation, getPackageAnnotation, hasClassAnnotation, hasFieldAnnotation, hasMethodAnnotationpublic void setErrorHandler(com.sun.xml.bind.v2.model.core.ErrorHandler errorHandler)
public final com.sun.xml.bind.v2.model.core.ErrorHandler getErrorHandler()
ErrorHandlerpublic final <A extends java.lang.annotation.Annotation> A getMethodAnnotation(java.lang.Class<A> annotation,
M getter,
M setter,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public boolean hasMethodAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
java.lang.String propertyName,
M getter,
M setter,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
protected abstract java.lang.String fullName(M m)
Copyright © 2018 Oracle Corporation. All rights reserved.