Class NullType
java.lang.Object
com.github.javaparser.symbolsolver.model.typesystem.NullType
- All Implemented Interfaces:
ResolvedType
This is a virtual type used to represent null values.
- Author:
- Federico Tomassetti
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondescribe()booleanisArray()booleanisAssignableBy(ResolvedType other)booleanisNull()booleanbooleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.types.ResolvedType
arrayLevel, asArrayType, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asUnionType, asWildcard, erasure, isConstraint, isInferenceVariable, isNumericType, isReference, isUnionType, isVoid, isWildcard, mention, replaceTypeVariables, replaceTypeVariables
-
Field Details
-
INSTANCE
-
-
Method Details
-
isArray
public boolean isArray()- Specified by:
isArrayin interfaceResolvedType
-
isPrimitive
public boolean isPrimitive()- Specified by:
isPrimitivein interfaceResolvedType
-
isNull
public boolean isNull()- Specified by:
isNullin interfaceResolvedType
-
isReferenceType
public boolean isReferenceType()- Specified by:
isReferenceTypein interfaceResolvedType
-
describe
- Specified by:
describein interfaceResolvedType
-
isTypeVariable
public boolean isTypeVariable()- Specified by:
isTypeVariablein interfaceResolvedType
-
isAssignableBy
- Specified by:
isAssignableByin interfaceResolvedType
-