Top Description Fields Constructors Methods
com.github.javaparser.resolution.types

public Class ResolvedVoidType

extends Object
implements ResolvedType
Class Inheritance
All Implemented Interfaces
com.github.javaparser.resolution.types.ResolvedType

The special type void.
Author
Federico Tomassetti

Field Summary

Modifier and TypeField and Description
public static final ResolvedType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
public boolean
isAssignableBy(ResolvedType other)

Implements com.github.javaparser.resolution.types.ResolvedType.isAssignableBy.

This method checks if ThisType t = new OtherType() would compile.
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final ResolvedType INSTANCE

Constructor Detail

ResolvedVoidTypeback to summary
private ResolvedVoidType()

Method Detail

describeback to summary
public String describe()

Implements com.github.javaparser.resolution.types.ResolvedType.describe.

Annotations
@Override
isAssignableByback to summary
public boolean isAssignableBy(ResolvedType other)

Implements com.github.javaparser.resolution.types.ResolvedType.isAssignableBy.

Doc from com.github.javaparser.resolution.types.ResolvedType.isAssignableBy.

This method checks if ThisType t = new OtherType() would compile.

Annotations
@Override
isVoidback to summary
public boolean isVoid()

Overrides default com.github.javaparser.resolution.types.ResolvedType.isVoid.

Annotations
@Override