public static class Type.PackageType 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
Modifier and Type | Method and Description |
---|---|
<R,S> R |
accept(Type.Visitor<R,S> v,
S s) |
<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.
|
String |
toString()
The Java source which this type represents.
|
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, isCompound, isErroneous, isErroneous, isExtendsBound, isFalse, isFinal, isInterface, isNullOrReference, isNumeric, isParameterized, isPartial, isPrimitive, isPrimitiveOrVoid, isRaw, isReference, isSuperBound, isTrue, isUnbound, map, map, stringValue, toString, unannotatedType, withTypeVar
getAttribute, getInheritedAnnotations
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, hashCode
getAnnotation, getAnnotationMirrors, getAnnotationsByType
public <R,S> R accept(Type.Visitor<R,S> v, S s)
public String toString()
Type
toString
in interface TypeMirror
toString
in class Type
public TypeKind getKind()
TypeMirror
kind
of this type.getKind
in interface TypeMirror
getKind
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 visitorCopyright © 2015. All rights reserved.