Class ResolvedVoidType
java.lang.Object
com.github.javaparser.resolution.types.ResolvedVoidType
- All Implemented Interfaces:
ResolvedType
The special type void.
- Author:
- Federico Tomassetti
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondescribe()
boolean
isAssignableBy(ResolvedType other)
This method checks if ThisType t = new OtherType() would compile.boolean
isVoid()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.javaparser.resolution.types.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
-
Field Details
-
INSTANCE
-
-
Method Details
-
describe
- Specified by:
describe
in interfaceResolvedType
-
isAssignableBy
Description copied from interface:ResolvedType
This method checks if ThisType t = new OtherType() would compile.- Specified by:
isAssignableBy
in interfaceResolvedType
-
isVoid
public boolean isVoid()- Specified by:
isVoid
in interfaceResolvedType
-