public static class Type.JCVoidType extends Type implements NoType
Type.AnnotatedType, Type.ArrayType, Type.CapturedType, Type.CapturedUndetVar, Type.ClassType, Type.DelegatedType, Type.ErasedClassType, Type.ErrorType, Type.ForAll, Type.IntersectionClassType, Type.JCNoType, Type.JCPrimitiveType, Type.JCVoidType, Type.Mapping, Type.MethodType, Type.PackageType, Type.TypeVar, Type.UndetVar, Type.UnionClassType, Type.UnknownType, Type.Visitor<R,S>, Type.WildcardType
Constructor and Description |
---|
JCVoidType() |
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(TypeVisitor<R,P> v,
P p)
Applies a visitor to this type.
|
TypeKind |
getKind()
Returns the
kind of this type. |
TypeTag |
getTag()
Returns the current type tag.
|
boolean |
isCompound() |
boolean |
isPrimitiveOrVoid() |
accept, allparams, annotatedType, argtypes, asElement, asMethodType, baseType, baseTypes, complete, constType, constValue, contains, contains, containsAny, containsAny, equals, filter, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getEnclosingType, getLowerBound, getModelType, getModelTypes, getOriginalType, getParameterTypes, getReceiverType, getReturnType, getThrownTypes, getTypeArguments, getUpperBound, hashCode, hasTag, isAnnotated, isErroneous, isErroneous, isExtendsBound, isFalse, isFinal, isInterface, isNullOrReference, isNumeric, isParameterized, isPartial, isPrimitive, isRaw, isReference, isSuperBound, isTrue, isUnbound, map, map, stringValue, toString, toString, unannotatedType, withTypeVar
getAttribute, getInheritedAnnotations
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, hashCode, toString
getAnnotation, getAnnotationMirrors, getAnnotationsByType
public TypeKind getKind()
TypeMirror
kind
of this type.getKind
in interface TypeMirror
getKind
in class Type
public boolean isCompound()
isCompound
in class Type
public <R,P> R accept(TypeVisitor<R,P> v, P p)
TypeMirror
accept
in interface TypeMirror
accept
in class Type
R
- the return type of the visitor's methodsP
- the type of the additional parameter to the visitor's methodsv
- the visitor operating on this typep
- additional parameter to the visitorpublic boolean isPrimitiveOrVoid()
isPrimitiveOrVoid
in class Type
Copyright © 2015. All rights reserved.