Class TestAnnotatedTypeBuilder<X>
- java.lang.Object
-
- org.jboss.weld.test.util.annotated.TestAnnotatedTypeBuilder<X>
-
public class TestAnnotatedTypeBuilder<X> extends Object
Class for constructing a new AnnotatedType. A new instance of builder must be used for each annotated type. No annotations will be read from the underlying class definition, all annotations must be added explicitly- Author:
- Stuart Douglas, Pete Muir
-
-
Constructor Summary
Constructors Constructor Description TestAnnotatedTypeBuilder(Class<X> underlying)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestAnnotatedTypeBuilder<X>addToClass(Annotation a)TestAnnotatedTypeBuilder<X>addToConstructor(Constructor<X> constructor, Annotation a)TestAnnotatedTypeBuilder<X>addToConstructorParameter(Constructor<X> constructor, int parameter, Annotation a)TestAnnotatedTypeBuilder<X>addToField(Field field, Annotation a)TestAnnotatedTypeBuilder<X>addToMethod(Method method, Annotation a)TestAnnotatedTypeBuilder<X>addToMethodParameter(Method method, int parameter, Annotation a)javax.enterprise.inject.spi.AnnotatedType<X>create()
-
-
-
Method Detail
-
addToClass
public TestAnnotatedTypeBuilder<X> addToClass(Annotation a)
-
addToField
public TestAnnotatedTypeBuilder<X> addToField(Field field, Annotation a)
-
addToMethod
public TestAnnotatedTypeBuilder<X> addToMethod(Method method, Annotation a)
-
addToMethodParameter
public TestAnnotatedTypeBuilder<X> addToMethodParameter(Method method, int parameter, Annotation a)
-
addToConstructor
public TestAnnotatedTypeBuilder<X> addToConstructor(Constructor<X> constructor, Annotation a)
-
addToConstructorParameter
public TestAnnotatedTypeBuilder<X> addToConstructorParameter(Constructor<X> constructor, int parameter, Annotation a)
-
create
public javax.enterprise.inject.spi.AnnotatedType<X> create()
-
-