@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface Factory
Attributes
instance in order
to be instantiated correctly. This annotation can be used if Property does not provide
a default factory with sufficient flexibility with annotation attributes (e.g. IntProperty.DefaultInt
for the Properties defined in com.lhkbob.entreri.property).
Every Property implementation must be annotated with this annotationPropertyFactory
,
Property
Modifier and Type | Required Element and Description |
---|---|
Class<? extends PropertyFactory<?>> |
value |
public abstract Class<? extends PropertyFactory<?>> value
Copyright © 2013. All Rights Reserved.