public class TypeEncounterImpl extends Object implements TypeEncounter
TypeEncounter.| Constructor and Description |
|---|
TypeEncounterImpl(SerializerCollection collection,
Type type,
List<Annotation> annotations) |
| Modifier and Type | Method and Description |
|---|---|
SerializerCollection |
getCollection()
Get the collection this encounter is for.
|
<T extends Annotation> |
getHint(Class<T> type)
Fetch a hint of the specific type if available.
|
Type |
getType()
Get the type encountered.
|
public TypeEncounterImpl(SerializerCollection collection, Type type, List<Annotation> annotations)
public SerializerCollection getCollection()
TypeEncountergetCollection in interface TypeEncounterpublic <T extends Annotation> T getHint(Class<T> type)
TypeEncountergetHint in interface TypeEncounternullpublic Type getType()
TypeEncountergetType in interface TypeEncounterCopyright © 2016. All rights reserved.