public class ResolvedVoidType extends Object implements ResolvedType
| Modifier and Type | Field and Description |
|---|---|
static ResolvedType |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
describe() |
boolean |
isAssignableBy(ResolvedType other)
This method checks if ThisType t = new OtherType() would compile.
|
boolean |
isVoid() |
String |
toDescriptor() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitarrayLevel, asArrayType, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asUnionType, asWildcard, erasure, isArray, isConstraint, isInferenceVariable, isNull, isNumericType, isPrimitive, isReference, isReferenceType, isTypeVariable, isUnionType, isWildcard, mention, replaceTypeVariables, replaceTypeVariables, solveGenericTypespublic static final ResolvedType INSTANCE
public String describe()
describe in interface ResolvedTypepublic boolean isAssignableBy(ResolvedType other)
ResolvedTypeisAssignableBy in interface ResolvedTypepublic boolean isVoid()
isVoid in interface ResolvedTypepublic String toDescriptor()
toDescriptor in interface ResolvedTypeCopyright © 2007–2023. All rights reserved.