public class TypeModelImpl extends GenericModelImpl<TypeModel> implements TypeModel
| 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) |
| Modifier and Type | Method and Description |
|---|---|
TypeModel |
componentType() |
TypeModel |
componentType(TypeModel componentType) |
List<VarModel> |
fields() |
TypeModel |
fields(List<VarModel> fields) |
String |
fullName() |
List<TypeModel> |
interfaces() |
boolean |
isArray() |
boolean |
isTypeVariable() |
List<MethodModel> |
methods() |
TypeModel |
methods(List<MethodModel> methods) |
List<TypeModel> |
nestedClasses() |
String |
packageName() |
TypeModel |
rawType() |
TypeModel |
rawType(TypeModel rawType) |
String |
simpleName() |
TypeModel |
superClass() |
TypeModel |
superClass(TypeModel superClass) |
TypeModel |
typeParameters(List<TypeModel> typeParameters) |
typeParametersannotations, metadata, modifiersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittypeParametersannotations, metadata, modifierspublic TypeModelImpl(ModifiersModel modifiers, String packageName, String simpleName, String fullName, TypeKind kind)
public String simpleName()
simpleName in interface TypeModelpublic String packageName()
packageName in interface TypeModelpublic boolean isTypeVariable()
isTypeVariable in interface TypeModelpublic TypeModel componentType()
componentType in interface TypeModelpublic TypeModel componentType(TypeModel componentType)
componentType in interface TypeModelpublic List<MethodModel> methods()
public TypeModel methods(List<MethodModel> methods)
public TypeModel superClass()
superClass in interface TypeModelpublic List<TypeModel> interfaces()
interfaces in interface TypeModelpublic TypeModel superClass(TypeModel superClass)
superClass in interface TypeModelpublic List<TypeModel> nestedClasses()
nestedClasses in interface TypeModelpublic TypeModel typeParameters(List<TypeModel> typeParameters)
typeParameters in interface GenericModel<TypeModel>Copyright © 2019. All rights reserved.