public class DefaultNReflectType extends Object implements NReflectType
| Constructor and Description |
|---|
DefaultNReflectType(Type javaType,
NReflectRepository repo) |
public DefaultNReflectType(Type javaType, NReflectRepository repo)
public Set<NReflectPropertyAccessStrategy> accessStrategies()
accessStrategies in interface NReflectTypepublic NReflectPropertyDefaultValueStrategy defaultValueStrategy()
defaultValueStrategy in interface NReflectTypepublic List<NReflectProperty> declaredProperties()
declaredProperties in interface NReflectTypepublic String name()
name in interface NReflectTypepublic List<NReflectProperty> properties()
properties 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<?>> javaClass()
javaClass in interface NReflectTypepublic boolean isAssignableFrom(NReflectType type)
isAssignableFrom in interface NReflectTypepublic boolean hasNoArgsConstructor()
hasNoArgsConstructor in interface NReflectTypepublic boolean hasSpecialConstructor()
hasSpecialConstructor in interface NReflectTypepublic NReflectType rawType()
rawType in interface NReflectTypepublic Object newInstance()
newInstance in interface NReflectTypepublic NReflectType superType()
superType in interface NReflectTypepublic List<NReflectType> interfaces()
interfaces in interface NReflectTypepublic List<NReflectMethod> methods()
methods 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> declaredMethods()
declaredMethods in interface NReflectTypepublic boolean isParametrizedType()
isParametrizedType in interface NReflectTypepublic boolean isTypeVariable()
isTypeVariable in interface NReflectTypepublic List<NReflectType> typeParameters()
typeParameters in interface NReflectTypepublic NOptional<NReflectType> getActualTypeArgument(NReflectType type)
getActualTypeArgument in interface NReflectTypepublic List<NReflectType> actualTypeArguments()
actualTypeArguments in interface NReflectTypepublic NReflectType replaceVars(Function<NReflectType,NReflectType> mapper)
replaceVars in interface NReflectTypepublic boolean isArrayType()
isArrayType in interface NReflectTypepublic NOptional<NReflectType> boxedType()
boxedType in interface NReflectTypepublic boolean isDefaultValue(Object value)
isDefaultValue in interface NReflectTypepublic Object defaultValue()
defaultValue in interface NReflectTypepublic NOptional<NReflectType> primitiveType()
primitiveType in interface NReflectTypepublic boolean isPrimitive()
isPrimitive in interface NReflectTypepublic NReflectType toArray()
toArray in interface NReflectTypepublic NReflectType componentType()
componentType in interface NReflectTypepublic NReflectType getOwnerType()
public NReflectRepository repository()
repository in interface NReflectTypepublic Type javaType()
javaType in interface NReflectTypeCopyright © 2026 vpc open source initiative. All rights reserved.