T
- The type of metadataJettyAnnotatedScanner
public abstract class AbstractMethodAnnotationScanner<T>
extends java.lang.Object
Constructor | Description |
---|---|
AbstractMethodAnnotationScanner() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
assertIsPublicNonStatic(java.lang.reflect.Method method) |
|
protected void |
assertIsReturn(java.lang.reflect.Method method,
java.lang.Class<?> type) |
|
protected void |
assertIsVoidReturn(java.lang.reflect.Method method) |
|
protected void |
assertUnset(CallableMethod callable,
java.lang.Class<? extends java.lang.annotation.Annotation> annoClass,
java.lang.reflect.Method method) |
|
protected void |
assertValidSignature(java.lang.reflect.Method method,
java.lang.Class<? extends java.lang.annotation.Annotation> annoClass,
ParamList validParams) |
|
boolean |
isAnnotation(java.lang.annotation.Annotation annotation,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
|
boolean |
isSameParameters(java.lang.Class<?>[] actual,
java.lang.Class<?>[] params) |
|
protected boolean |
isSignatureMatch(java.lang.reflect.Method method,
ParamList validParams) |
|
protected boolean |
isTypeAnnotated(java.lang.Class<?> pojo,
java.lang.Class<? extends java.lang.annotation.Annotation> expectedAnnotation) |
|
abstract void |
onMethodAnnotation(T metadata,
java.lang.Class<?> pojo,
java.lang.reflect.Method method,
java.lang.annotation.Annotation annotation) |
|
void |
scanMethodAnnotations(T metadata,
java.lang.Class<?> pojo) |
protected void assertIsPublicNonStatic(java.lang.reflect.Method method)
protected void assertIsReturn(java.lang.reflect.Method method, java.lang.Class<?> type)
protected void assertIsVoidReturn(java.lang.reflect.Method method)
protected void assertUnset(CallableMethod callable, java.lang.Class<? extends java.lang.annotation.Annotation> annoClass, java.lang.reflect.Method method)
protected void assertValidSignature(java.lang.reflect.Method method, java.lang.Class<? extends java.lang.annotation.Annotation> annoClass, ParamList validParams)
public boolean isAnnotation(java.lang.annotation.Annotation annotation, java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
public boolean isSameParameters(java.lang.Class<?>[] actual, java.lang.Class<?>[] params)
protected boolean isSignatureMatch(java.lang.reflect.Method method, ParamList validParams)
protected boolean isTypeAnnotated(java.lang.Class<?> pojo, java.lang.Class<? extends java.lang.annotation.Annotation> expectedAnnotation)
public abstract void onMethodAnnotation(T metadata, java.lang.Class<?> pojo, java.lang.reflect.Method method, java.lang.annotation.Annotation annotation)
public void scanMethodAnnotations(T metadata, java.lang.Class<?> pojo)
Copyright © 1995–2018 Webtide. All rights reserved.