Class AnnotatedTypeConfiguratorImpl<T>
- java.lang.Object
-
- org.jboss.weld.bootstrap.events.configurator.AnnotatedTypeConfiguratorImpl<T>
-
- All Implemented Interfaces:
AnnotatedTypeConfigurator<T>,Configurator<AnnotatedType<T>>
public class AnnotatedTypeConfiguratorImpl<T> extends Object implements AnnotatedTypeConfigurator<T>, Configurator<AnnotatedType<T>>
Configurator forAnnotatedType.- Author:
- Martin Kouba
-
-
Constructor Summary
Constructors Constructor Description AnnotatedTypeConfiguratorImpl(AnnotatedType<T> annotatedType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cadd(Annotation annotation)AnnotatedType<T>complete()Returns a finished component.Set<AnnotatedConstructorConfigurator<T>>constructors()Set<AnnotatedFieldConfigurator<? super T>>fields()AgetAnnotated()Set<AnnotatedMethodConfigurator<? super T>>methods()Cremove(Predicate<Annotation> predicate)CremoveAll()protected AnnotatedTypeConfiguratorImpl<T>self()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
add, filterConstructors, filterFields, filterMethods, getAnnotated, remove, removeAll
-
-
-
-
Constructor Detail
-
AnnotatedTypeConfiguratorImpl
public AnnotatedTypeConfiguratorImpl(AnnotatedType<T> annotatedType)
-
-
Method Detail
-
methods
public Set<AnnotatedMethodConfigurator<? super T>> methods()
- Specified by:
methodsin interfaceAnnotatedTypeConfigurator<T>- Returns:
- an immutable set of
AnnotatedMethodConfigurators reflecting theAnnotatedType.getMethods()
-
fields
public Set<AnnotatedFieldConfigurator<? super T>> fields()
- Specified by:
fieldsin interfaceAnnotatedTypeConfigurator<T>- Returns:
- an immutable set of
AnnotatedFieldConfigurators reflecting theAnnotatedType.getFields()
-
constructors
public Set<AnnotatedConstructorConfigurator<T>> constructors()
- Specified by:
constructorsin interfaceAnnotatedTypeConfigurator<T>- Returns:
- an immutable set of
AnnotatedConstructorConfigurators reflecting theAnnotatedType.getConstructors()
-
self
protected AnnotatedTypeConfiguratorImpl<T> self()
-
complete
public AnnotatedType<T> complete()
Description copied from interface:ConfiguratorReturns a finished component.- Specified by:
completein interfaceConfigurator<T>- Returns:
- a finished component
-
getAnnotated
public A getAnnotated()
-
add
public C add(Annotation annotation)
-
remove
public C remove(Predicate<Annotation> predicate)
-
removeAll
public C removeAll()
-
-