Class AnnotationProcessor

java.lang.Object
org.cometd.annotation.AnnotationProcessor
Direct Known Subclasses:
ClientAnnotationProcessor, ServerAnnotationProcessor

public class AnnotationProcessor extends Object
Base class for common functionality in annotation processors
  • Constructor Details Link icon

    • AnnotationProcessor Link icon

      public AnnotationProcessor()
  • Method Details Link icon

    • processPostConstruct Link icon

      protected boolean processPostConstruct(Object bean)
    • processPreDestroy Link icon

      protected boolean processPreDestroy(Object bean)
    • findAnnotatedMethods Link icon

      protected List<Method> findAnnotatedMethods(Object bean, Class<? extends Annotation> annotationClass)
    • processParameters Link icon

      protected List<String> processParameters(Method method)
    • invokePrivate Link icon

      protected Object invokePrivate(Object bean, Method method, Object... args)
    • invokePublic Link icon

      protected static Object invokePublic(Object target, Method method, Object[] arguments) throws Throwable
      Throws:
      Throwable
    • callPublic Link icon

      protected static Object callPublic(Object target, Method method, Object... arguments)
    • getField Link icon

      protected Object getField(Object bean, Field field)
    • setField Link icon

      protected void setField(Object bean, Field field, Object value)
    • checkMethodsPublic Link icon

      protected static void checkMethodsPublic(Object bean, Class<? extends Annotation> annotationClass)
    • checkSignaturesMatch Link icon

      protected static void checkSignaturesMatch(Method method, Class<?>[] expectedTypes, List<String> paramNames)
    • processInjectables Link icon

      protected boolean processInjectables(Object bean, List<Object> injectables)
    • processInjectable Link icon

      protected boolean processInjectable(Object bean, Object injectable)