public class BeanMethods extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Collection<EnhancedAnnotatedMethod<?,? super T>> |
filterMethods(Collection<EnhancedAnnotatedMethod<?,? super T>> methods)
Oracle JDK 8 compiler (unlike prev versions) generates bridge methods which have method and parameter annotations copied from the original method.
|
static <T> List<Set<MethodInjectionPoint<?,?>>> |
getInitializerMethods(javax.enterprise.inject.spi.Bean<?> declaringBean,
EnhancedAnnotatedType<T> type,
BeanManagerImpl manager) |
static <T> List<Method> |
getInterceptorMethods(EnhancedAnnotatedType<T> type,
InterceptionType interceptionType,
boolean targetClass) |
static <T> Collection<EnhancedAnnotatedMethod<?,? super T>> |
getObserverMethods(EnhancedAnnotatedType<T> type) |
static <T> List<javax.enterprise.inject.spi.AnnotatedMethod<? super T>> |
getPostConstructMethods(EnhancedAnnotatedType<T> type) |
static <T> List<javax.enterprise.inject.spi.AnnotatedMethod<? super T>> |
getPreDestroyMethods(EnhancedAnnotatedType<T> type) |
public static <T> List<javax.enterprise.inject.spi.AnnotatedMethod<? super T>> getPostConstructMethods(EnhancedAnnotatedType<T> type)
public static <T> List<javax.enterprise.inject.spi.AnnotatedMethod<? super T>> getPreDestroyMethods(EnhancedAnnotatedType<T> type)
public static <T> List<Set<MethodInjectionPoint<?,?>>> getInitializerMethods(javax.enterprise.inject.spi.Bean<?> declaringBean, EnhancedAnnotatedType<T> type, BeanManagerImpl manager)
public static <T> Collection<EnhancedAnnotatedMethod<?,? super T>> getObserverMethods(EnhancedAnnotatedType<T> type)
public static <T> Collection<EnhancedAnnotatedMethod<?,? super T>> filterMethods(Collection<EnhancedAnnotatedMethod<?,? super T>> methods)
methods
- http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6695379
,
https://issues.jboss.org/browse/WELD-2019
public static <T> List<Method> getInterceptorMethods(EnhancedAnnotatedType<T> type, InterceptionType interceptionType, boolean targetClass)
Copyright © 2016. All Rights Reserved.