public static class Reflection.ReflectionType extends Object implements TypeAdapter
| Constructor and Description |
|---|
ReflectionType(Class<?> adaptee) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
adaptee() |
List<MemberAdapter> |
getAllMembers()
Returns members declared by this type and inherited from its superclass(es).
|
List<MethodAdapter> |
getMethods()
Returns methods declared by this type.
|
boolean |
hasNoargConstructor() |
boolean |
isAbstract() |
boolean |
isAnonymousClass() |
boolean |
isArray() |
boolean |
isAssignableFrom(Class<?> type)
Returns
true if variable of this type erasure can be assigned values of
other type erasure. |
boolean |
isEnum() |
boolean |
isInnerClass() |
boolean |
isInterface() |
boolean |
isIterable() |
boolean |
isLocalClass() |
boolean |
isMap() |
boolean |
isPrimitive() |
boolean |
isSameType(Class<?> type) |
io.takari.builder.internal.Reflection.MultivalueFactory |
multivalueFactory() |
String |
qualifiedName() |
String |
simpleName() |
String |
toString() |
public ReflectionType(Class<?> adaptee)
public String simpleName()
simpleName in interface TypeAdapterpublic String qualifiedName()
qualifiedName in interface TypeAdapterpublic Class<?> adaptee()
public boolean isPrimitive()
isPrimitive in interface TypeAdapterpublic boolean isIterable()
isIterable in interface TypeAdapterpublic boolean isMap()
isMap in interface TypeAdapterpublic boolean isEnum()
isEnum in interface TypeAdapterpublic List<MemberAdapter> getAllMembers()
TypeAdaptergetAllMembers in interface TypeAdapterpublic List<MethodAdapter> getMethods()
TypeAdaptergetMethods in interface TypeAdapterpublic boolean isSameType(Class<?> type)
isSameType in interface TypeAdapterpublic boolean isInterface()
isInterface in interface TypeAdapterpublic boolean isLocalClass()
isLocalClass in interface TypeAdapterpublic boolean isAnonymousClass()
isAnonymousClass in interface TypeAdapterpublic boolean isInnerClass()
isInnerClass in interface TypeAdapterpublic boolean isAbstract()
isAbstract in interface TypeAdapterpublic boolean isArray()
isArray in interface TypeAdapterpublic boolean isAssignableFrom(Class<?> type)
TypeAdaptertrue if variable of this type erasure can be assigned values of
other type erasure.isAssignableFrom in interface TypeAdapterpublic boolean hasNoargConstructor()
hasNoargConstructor in interface TypeAdapterpublic io.takari.builder.internal.Reflection.MultivalueFactory multivalueFactory()
Copyright © 2017. All rights reserved.