@ApplicationScoped public class DefaultTypeNameExtractor extends java.lang.Object implements TypeNameExtractor
TypeNameExtractor
.
It decapitalizes the name of the type, or if the type is a generic collection,
uses the decapitalized name of generic type plus 'List'.Constructor and Description |
---|
DefaultTypeNameExtractor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
nameFor(java.lang.reflect.Type generic) |
public java.lang.String nameFor(java.lang.reflect.Type generic)
nameFor
in interface TypeNameExtractor
Copyright © 2013 Caelum. All Rights Reserved.