public static enum TypeWriter.FieldPool.Entry.NoOp extends Enum<TypeWriter.FieldPool.Entry.NoOp> implements TypeWriter.FieldPool.Entry
FieldAttributeAppender.Factory
for any field.TypeWriter.FieldPool.Entry.NoOp, TypeWriter.FieldPool.Entry.Simple| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClassVisitor classVisitor,
FieldDescription fieldDescription)
Writes this entry to a given class visitor.
|
Object |
getDefaultValue()
Returns the default value for the field that is represented by this entry.
|
FieldAttributeAppender |
getFieldAppender()
Returns the field attribute appender for a given field.
|
String |
toString() |
static TypeWriter.FieldPool.Entry.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeWriter.FieldPool.Entry.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeWriter.FieldPool.Entry.NoOp INSTANCE
public static TypeWriter.FieldPool.Entry.NoOp[] values()
for (TypeWriter.FieldPool.Entry.NoOp c : TypeWriter.FieldPool.Entry.NoOp.values()) System.out.println(c);
public static TypeWriter.FieldPool.Entry.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 getFieldAppender()
TypeWriter.FieldPool.EntrygetFieldAppender in interface TypeWriter.FieldPool.Entrypublic Object getDefaultValue()
TypeWriter.FieldPool.Entrynull if no such value is set.getDefaultValue in interface TypeWriter.FieldPool.Entrypublic void apply(ClassVisitor classVisitor, FieldDescription fieldDescription)
TypeWriter.FieldPool.Entryapply in interface TypeWriter.FieldPool.EntryclassVisitor - The class visitor to which this entry is to be written to.fieldDescription - A description of the field that is to be written.public String toString()
toString in class Enum<TypeWriter.FieldPool.Entry.NoOp>Copyright © 2014–2015. All rights reserved.