Class ResolvedVoidType
java.lang.Object
com.github.javaparser.resolution.types.ResolvedVoidType
- All Implemented Interfaces:
ResolvedType
The special type void.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe()booleanisAssignableBy(ResolvedType other) This method checks if ThisType t = new OtherType() would compile.booleanisVoid()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ResolvedType
arrayLevel, asArrayType, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asUnionType, asWildcard, erasure, isArray, isConstraint, isInferenceVariable, isNull, isNumericType, isPrimitive, isReference, isReferenceType, isTypeVariable, isUnionType, isWildcard, mention, replaceTypeVariables, replaceTypeVariables, solveGenericTypes
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ResolvedVoidType
private ResolvedVoidType()
-
-
Method Details
-
describe
- Specified by:
describein interfaceResolvedType
-
isAssignableBy
Description copied from interface:ResolvedTypeThis method checks if ThisType t = new OtherType() would compile.- Specified by:
isAssignableByin interfaceResolvedType
-
isVoid
public boolean isVoid()- Specified by:
isVoidin interfaceResolvedType
-
toDescriptor
- Specified by:
toDescriptorin interfaceResolvedType
-