public abstract class AbstractInlineAnnotationReaderImpl<T,C,F,M> extends Object implements 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 and Description |
---|
AbstractInlineAnnotationReaderImpl() |
Modifier and Type | Method and Description |
---|---|
protected abstract 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 Annotation> |
getMethodAnnotation(Class<A> annotation,
M getter,
M setter,
Locatable srcPos) |
boolean |
hasMethodAnnotation(Class<? extends Annotation> annotation,
String propertyName,
M getter,
M setter,
Locatable srcPos) |
void |
setErrorHandler(com.sun.xml.bind.v2.model.core.ErrorHandler errorHandler) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllFieldAnnotations, getAllMethodAnnotations, getClassAnnotation, getClassArrayValue, getClassValue, getFieldAnnotation, getMethodAnnotation, getMethodParameterAnnotation, getPackageAnnotation, hasClassAnnotation, hasFieldAnnotation, hasMethodAnnotation
public void setErrorHandler(com.sun.xml.bind.v2.model.core.ErrorHandler errorHandler)
setErrorHandler
in interface AnnotationReader<T,C,F,M>
public final com.sun.xml.bind.v2.model.core.ErrorHandler getErrorHandler()
ErrorHandler
public final <A extends Annotation> A getMethodAnnotation(Class<A> annotation, M getter, M setter, Locatable srcPos)
getMethodAnnotation
in interface AnnotationReader<T,C,F,M>
public boolean hasMethodAnnotation(Class<? extends Annotation> annotation, String propertyName, M getter, M setter, Locatable srcPos)
hasMethodAnnotation
in interface AnnotationReader<T,C,F,M>
Copyright © 2016 Oracle Corporation. All rights reserved.