public class FieldImp extends Object implements IFieldReader, IFieldWriter, Comparable<FieldImp>
| Modifier and Type | Method and Description |
|---|---|
IAnnotationPropertyWriter |
annotation(Class<? extends Annotation> annotation) |
IAnnotationPropertyWriter |
annotation(Class<? extends Annotation> annotation,
LocationEnum location) |
IAnnotationPropertyWriter |
annotation(IAnnotationReader annotation) |
Collection<IAnnotationReader> |
annotations() |
int |
compareTo(FieldImp other) |
Class<?> |
generics() |
IFieldWriter |
generics(Class<?> generics) |
boolean |
hasGetter() |
IFieldWriter |
hasGetter(boolean getter) |
boolean |
hasSetter() |
IFieldWriter |
hasSetter(boolean setter) |
Collection<ModifierEnum> |
modifiers() |
IFieldWriter |
modifiers(ModifierEnum... modifiers) |
String |
name() |
IFieldWriter |
name(String name) |
String |
toString() |
Class<?> |
type() |
IFieldWriter |
type(Class<?> type) |
Object |
value()
Only used in constants
|
IFieldWriter |
value(Object value) |
VisibilityEnum |
visibility() |
IFieldWriter |
visibility(VisibilityEnum visibility) |
public IFieldWriter name(String name)
name in interface IFieldWritername - of the fieldpublic IFieldWriter type(Class<?> type)
type in interface IFieldWritertype - of the fieldpublic IFieldWriter generics(Class<?> generics)
generics in interface IFieldWritergenerics - of the fieldpublic IFieldWriter value(Object value)
value in interface IFieldWritervalue - of the fieldpublic IFieldWriter visibility(VisibilityEnum visibility)
visibility in interface IFieldWritervisibility - of the fieldpublic IFieldWriter modifiers(ModifierEnum... modifiers)
modifiers in interface IFieldWritermodifiers - of the fieldpublic IAnnotationPropertyWriter annotation(Class<? extends Annotation> annotation)
annotation in interface IAnnotationWriterannotation - to associatepublic IAnnotationPropertyWriter annotation(Class<? extends Annotation> annotation, LocationEnum location)
annotation in interface IAnnotationWriterannotation - to associatelocation - to bepublic IAnnotationPropertyWriter annotation(IAnnotationReader annotation)
annotation in interface IAnnotationWriterannotation - to associatepublic String name()
name in interface IFieldReaderpublic Class<?> type()
type in interface IFieldReaderpublic Class<?> generics()
generics in interface IFieldReaderpublic Object value()
IFieldReadervalue in interface IFieldReaderpublic VisibilityEnum visibility()
visibility in interface IFieldReaderpublic Collection<ModifierEnum> modifiers()
modifiers in interface IFieldReaderpublic Collection<IAnnotationReader> annotations()
annotations in interface IFieldReaderpublic IFieldWriter hasGetter(boolean getter)
hasGetter in interface IFieldWritergetter - if the field should have the getter methodpublic IFieldWriter hasSetter(boolean setter)
hasSetter in interface IFieldWritersetter - if the field should have the setter methodpublic boolean hasGetter()
hasGetter in interface IFieldReaderpublic boolean hasSetter()
hasSetter in interface IFieldReaderpublic int compareTo(FieldImp other)
compareTo in interface Comparable<FieldImp>Copyright © 2017 Esfinge Framework. All rights reserved.