public class DefaultNReflectType extends Object implements net.thevpc.nuts.reflect.NReflectType
| Constructor and Description |
|---|
DefaultNReflectType(Type javaType,
net.thevpc.nuts.reflect.NReflectRepository repo) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.util.NOptional<Class<?>> |
asJavaClass() |
net.thevpc.nuts.reflect.NReflectPropertyAccessStrategy |
getAccessStrategy() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectType> |
getActualTypeArgument(net.thevpc.nuts.reflect.NReflectType type) |
net.thevpc.nuts.reflect.NReflectType[] |
getActualTypeArguments() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectType> |
getBoxedType() |
net.thevpc.nuts.reflect.NReflectType |
getComponentType() |
List<net.thevpc.nuts.reflect.NReflectMethod> |
getDeclaredMethods() |
List<net.thevpc.nuts.reflect.NReflectProperty> |
getDeclaredProperties() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectProperty> |
getDeclaredProperty(String name) |
Object |
getDefaultValue() |
net.thevpc.nuts.reflect.NReflectPropertyDefaultValueStrategy |
getDefaultValueStrategy() |
Type |
getJavaType() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectMethod> |
getMatchingMethod(String name,
net.thevpc.nuts.reflect.NSignature signature)
TODO
|
List<net.thevpc.nuts.reflect.NReflectMethod> |
getMatchingMethods(String name,
net.thevpc.nuts.reflect.NSignature signature)
TODO
|
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectMethod> |
getMethod(String name,
net.thevpc.nuts.reflect.NSignature signature) |
List<net.thevpc.nuts.reflect.NReflectMethod> |
getMethods() |
String |
getName() |
net.thevpc.nuts.reflect.NReflectType |
getOwnerType() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectType> |
getPrimitiveType() |
List<net.thevpc.nuts.reflect.NReflectProperty> |
getProperties() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectProperty> |
getProperty(String name) |
net.thevpc.nuts.reflect.NReflectType |
getRawType() |
net.thevpc.nuts.reflect.NReflectRepository |
getRepository() |
net.thevpc.nuts.reflect.NReflectType |
getSuperType() |
net.thevpc.nuts.reflect.NReflectType[] |
getTypeParameters() |
boolean |
hasNoArgsConstructor() |
boolean |
hasSpecialConstructor() |
boolean |
isArrayType() |
boolean |
isAssignableFrom(net.thevpc.nuts.reflect.NReflectType type) |
boolean |
isDefaultValue(Object value) |
boolean |
isParametrizedType() |
boolean |
isPrimitive() |
boolean |
isTypeVariable() |
Object |
newInstance() |
net.thevpc.nuts.reflect.NReflectType |
replaceVars(Function<net.thevpc.nuts.reflect.NReflectType,net.thevpc.nuts.reflect.NReflectType> mapper) |
net.thevpc.nuts.reflect.NReflectType |
toArray() |
String |
toString() |
public DefaultNReflectType(Type javaType, net.thevpc.nuts.reflect.NReflectRepository repo)
public net.thevpc.nuts.reflect.NReflectPropertyAccessStrategy getAccessStrategy()
getAccessStrategy in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.reflect.NReflectPropertyDefaultValueStrategy getDefaultValueStrategy()
getDefaultValueStrategy in interface net.thevpc.nuts.reflect.NReflectTypepublic List<net.thevpc.nuts.reflect.NReflectProperty> getDeclaredProperties()
getDeclaredProperties in interface net.thevpc.nuts.reflect.NReflectTypepublic String getName()
getName in interface net.thevpc.nuts.reflect.NReflectTypepublic List<net.thevpc.nuts.reflect.NReflectProperty> getProperties()
getProperties in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectProperty> getProperty(String name)
getProperty in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectProperty> getDeclaredProperty(String name)
getDeclaredProperty in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.util.NOptional<Class<?>> asJavaClass()
asJavaClass in interface net.thevpc.nuts.reflect.NReflectTypepublic boolean isAssignableFrom(net.thevpc.nuts.reflect.NReflectType type)
isAssignableFrom in interface net.thevpc.nuts.reflect.NReflectTypepublic boolean hasNoArgsConstructor()
hasNoArgsConstructor in interface net.thevpc.nuts.reflect.NReflectTypepublic boolean hasSpecialConstructor()
hasSpecialConstructor in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.reflect.NReflectType getRawType()
getRawType in interface net.thevpc.nuts.reflect.NReflectTypepublic Object newInstance()
newInstance in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.reflect.NReflectType getSuperType()
getSuperType in interface net.thevpc.nuts.reflect.NReflectTypepublic List<net.thevpc.nuts.reflect.NReflectMethod> getMethods()
getMethods in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectMethod> getMethod(String name, net.thevpc.nuts.reflect.NSignature signature)
getMethod in interface net.thevpc.nuts.reflect.NReflectTypepublic List<net.thevpc.nuts.reflect.NReflectMethod> getMatchingMethods(String name, net.thevpc.nuts.reflect.NSignature signature)
getMatchingMethods in interface net.thevpc.nuts.reflect.NReflectTypesignature - public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectMethod> getMatchingMethod(String name, net.thevpc.nuts.reflect.NSignature signature)
getMatchingMethod in interface net.thevpc.nuts.reflect.NReflectTypesignature - public List<net.thevpc.nuts.reflect.NReflectMethod> getDeclaredMethods()
getDeclaredMethods in interface net.thevpc.nuts.reflect.NReflectTypepublic boolean isParametrizedType()
isParametrizedType in interface net.thevpc.nuts.reflect.NReflectTypepublic boolean isTypeVariable()
isTypeVariable in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.reflect.NReflectType[] getTypeParameters()
getTypeParameters in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectType> getActualTypeArgument(net.thevpc.nuts.reflect.NReflectType type)
getActualTypeArgument in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.reflect.NReflectType[] getActualTypeArguments()
getActualTypeArguments in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.reflect.NReflectType replaceVars(Function<net.thevpc.nuts.reflect.NReflectType,net.thevpc.nuts.reflect.NReflectType> mapper)
replaceVars in interface net.thevpc.nuts.reflect.NReflectTypepublic boolean isArrayType()
isArrayType in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectType> getBoxedType()
getBoxedType in interface net.thevpc.nuts.reflect.NReflectTypepublic boolean isDefaultValue(Object value)
isDefaultValue in interface net.thevpc.nuts.reflect.NReflectTypepublic Object getDefaultValue()
getDefaultValue in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectType> getPrimitiveType()
getPrimitiveType in interface net.thevpc.nuts.reflect.NReflectTypepublic boolean isPrimitive()
isPrimitive in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.reflect.NReflectType toArray()
toArray in interface net.thevpc.nuts.reflect.NReflectTypepublic net.thevpc.nuts.reflect.NReflectType getComponentType()
public net.thevpc.nuts.reflect.NReflectType getOwnerType()
public net.thevpc.nuts.reflect.NReflectRepository getRepository()
getRepository in interface net.thevpc.nuts.reflect.NReflectTypepublic Type getJavaType()
getJavaType in interface net.thevpc.nuts.reflect.NReflectTypeCopyright © 2025 vpc open source initiative. All rights reserved.