public static enum FieldAttributeAppender.NoOp extends Enum<FieldAttributeAppender.NoOp> implements FieldAttributeAppender, FieldAttributeAppender.Factory
FieldAttributeAppender.Compound, FieldAttributeAppender.Explicit, FieldAttributeAppender.Factory, FieldAttributeAppender.ForInstrumentedField, FieldAttributeAppender.NoOp
FieldAttributeAppender.Factory.Compound
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(org.objectweb.asm.FieldVisitor fieldVisitor,
FieldDescription fieldDescription,
AnnotationValueFilter annotationValueFilter)
Applies this attribute appender to a given field visitor.
|
FieldAttributeAppender |
make(TypeDescription typeDescription)
Returns a field attribute appender that is applicable for a given type description.
|
static FieldAttributeAppender.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldAttributeAppender.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldAttributeAppender.NoOp INSTANCE
public static FieldAttributeAppender.NoOp[] values()
for (FieldAttributeAppender.NoOp c : FieldAttributeAppender.NoOp.values()) System.out.println(c);
public static FieldAttributeAppender.NoOp valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic FieldAttributeAppender make(TypeDescription typeDescription)
make
in interface FieldAttributeAppender.Factory
typeDescription
- The type for which a field attribute appender is to be applied for.public void apply(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter)
apply
in interface FieldAttributeAppender
fieldVisitor
- The field visitor to which the attributes that are represented by this attribute appender are written to.fieldDescription
- The description of the field to which the field visitor belongs to.annotationValueFilter
- The annotation value filter to apply when writing annotations.Copyright © 2014–2019. All rights reserved.