public abstract class TypeModelImpl<T extends TypeModel<T>> extends GenericModelImpl<T> implements TypeModel<T>
| Constructor and Description |
|---|
TypeModelImpl(ModifiersModel modifiers,
String packageName,
String simpleName,
String fullName,
TypeKind kind) |
TypeModelImpl(ModifiersModel modifiers,
String packageName,
String simpleName,
String fullName,
TypeKind kind,
List<TypeModel<?>> typeParameters,
T rawType) |
| Modifier and Type | Method and Description |
|---|---|
TypeModel<?> |
componentType() |
T |
componentType(TypeModel<?> componentType) |
protected abstract T |
construct(String collect,
List<TypeModel<?>> typeParameters) |
Map<String,VarModel> |
fields() |
T |
fields(Map<String,VarModel> fields) |
String |
fullName() |
List<InterfaceModel> |
interfaces() |
boolean |
isArray() |
boolean |
isPrimitive() |
boolean |
isTypeVariable() |
List<MethodModel> |
methods() |
T |
methods(List<MethodModel> methods) |
String |
packageName() |
T |
rawType() |
String |
simpleName() |
protected abstract T |
t() |
String |
toString() |
T |
typeParameters(List<TypeModel<?>> typeParameters) |
List<TypeModel<?>> |
types() |
typeParametersannotations, metadata, modifiersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittypeParametersannotations, metadata, modifierspublic TypeModelImpl(ModifiersModel modifiers, String packageName, String simpleName, String fullName, TypeKind kind)
protected abstract T t()
public String simpleName()
simpleName in interface TypeModel<T extends TypeModel<T>>public String packageName()
packageName in interface TypeModel<T extends TypeModel<T>>public String fullName()
public boolean isArray()
public boolean isTypeVariable()
isTypeVariable in interface TypeModel<T extends TypeModel<T>>public TypeModel<?> componentType()
componentType in interface TypeModel<T extends TypeModel<T>>public T componentType(TypeModel<?> componentType)
componentType in interface TypeModel<T extends TypeModel<T>>public List<MethodModel> methods()
public T methods(List<MethodModel> methods)
public List<InterfaceModel> interfaces()
interfaces in interface TypeModel<T extends TypeModel<T>>public boolean isPrimitive()
isPrimitive in interface TypeModel<T extends TypeModel<T>>public T typeParameters(List<TypeModel<?>> typeParameters)
typeParameters in interface GenericModel<T extends TypeModel<T>>Copyright © 2020. All rights reserved.