S
- The most specific known type of the dynamic type, usually the type itself, an interface or the
direct super class.public static interface DynamicType.Builder.FieldAnnotationTarget<S> extends DynamicType.Builder<S>
DynamicType.Builder.AbstractBase<S>, DynamicType.Builder.ExceptionDeclarableMethodInterception<S>, DynamicType.Builder.FieldAnnotationTarget<S>, DynamicType.Builder.FieldValueTarget<S>, DynamicType.Builder.MatchedMethodInterception<S>, DynamicType.Builder.MethodAnnotationTarget<S>, DynamicType.Builder.OptionalMatchedMethodInterception<S>
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.FieldAnnotationTarget<S> |
annotateField(Annotation... annotation)
Defines annotations to be added to the currently selected field.
|
DynamicType.Builder.FieldAnnotationTarget<S> |
annotateField(AnnotationDescription... annotation)
Defines annotations to be added to the currently selected field.
|
DynamicType.Builder.FieldAnnotationTarget<S> |
attribute(FieldAttributeAppender.Factory attributeAppenderFactory)
Defines an attribute appender factory to be applied onto the currently selected field.
|
annotateType, annotateType, attribute, bridgeMethodResolverFactory, classFileVersion, classVisitor, constructor, define, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, ignoreMethods, implement, implement, invokable, invokable, make, method, methodLookupEngine, modifiers, modifiers, name, name, name
DynamicType.Builder.FieldAnnotationTarget<S> attribute(FieldAttributeAppender.Factory attributeAppenderFactory)
attributeAppenderFactory
- The attribute appender factory to apply onto the currently selected
field.DynamicType.Builder.FieldAnnotationTarget<S> annotateField(Annotation... annotation)
Note: The annotations will not be visible to
Implementation
s.annotation
- The annotations to add to the currently selected field.DynamicType.Builder.FieldAnnotationTarget<S> annotateField(AnnotationDescription... annotation)
Note: The annotations will not be visible to
Implementation
s.annotation
- The annotations to add to the currently selected field.Copyright © 2014–2015. All rights reserved.