Class ResolvedVoidType
java.lang.Object
com.github.javaparser.resolution.types.ResolvedVoidType
- All Implemented Interfaces:
ResolvedType
The special type void.
- Author:
- Federico Tomassetti
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondescribe()booleanisAssignableBy(ResolvedType other)This method checks if ThisType t = new OtherType() would compile.booleanisVoid()Methods 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, isArray, isConstraint, isInferenceVariable, isNull, isNumericType, isPrimitive, isReference, isReferenceType, isTypeVariable, isUnionType, isWildcard, mention, replaceTypeVariables, replaceTypeVariables
-
Field Details
-
INSTANCE
-
-
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
-