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