com.sun.xml.bind.v2.model.impl

Class FieldPropertySeed<TypeT,ClassDeclT,FieldT,MethodT>

class FieldPropertySeed<TypeT,ClassDeclT,FieldT,MethodT> extends Object implements PropertySeed<TypeT,ClassDeclT,FieldT,MethodT>

PropertyInfo implementation backed by a field.
Field Summary
protected FieldTfield
Constructor Summary
FieldPropertySeed(ClassInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> classInfo, FieldT field)
Method Summary
LocationgetLocation()
StringgetName()
TypeTgetRawType()
LocatablegetUpstream()
Use the enclosing class as the upsream Location.
booleanhasAnnotation(Class<? extends Annotation> annotationType)
<A extends Annotation> AreadAnnotation(Class<A> a)

Field Detail

field

protected final FieldT field

Constructor Detail

FieldPropertySeed

FieldPropertySeed(ClassInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> classInfo, FieldT field)

Method Detail

getLocation

public Location getLocation()

getName

public String getName()

getRawType

public TypeT getRawType()

getUpstream

public Locatable getUpstream()
Use the enclosing class as the upsream Location.

hasAnnotation

public boolean hasAnnotation(Class<? extends Annotation> annotationType)

readAnnotation

public <A extends Annotation> A readAnnotation(Class<A> a)