default <T,P>
T
acceptVisitor(JTypeVisitor<T,P> visitor, P p)
Accept a type visitor, dispatching on this object's runtime type to the correct method of the visitor.
default JTypeVar
addAnnotation(@NonNull SymbolicValue.SymAnnot newAnnot)
Returns a type mirror that is equal to this instance but has one more type annotation.
JTypeVar
cloneWithBounds(JTypeMirror lower, JTypeMirror upper)
@Nullable JWildcardType
getCapturedOrigin()
Returns the original wildcard, if this is a capture variable.
@NonNull JTypeMirror
getLowerBound()
Gets the lower bound.
@NonNull String
getName()
Returns the name of this variable, which may something autogenerated if this is a captured variable.
@Nullable JTypeParameterSymbol
getSymbol()
Returns the reflected type variable this instance represents, or null if this is a capture variable.
@NonNull JTypeMirror
getUpperBound()
Gets the upper bound.
boolean
isCaptured()
Returns true if this is a capture variable, ie this variable originates from the
captureof a wildcard type argument.
boolean
isCaptureOf(JWildcardType wildcard)
Returns true if this is a capture variable for the given wildcard.
default Stream<JMethodSig>
streamMethods(Predicate<? super JMethodSymbol> prefilter)
Returns a stream of method signatures declared in and inherited by this type.
JTypeVar
substInBounds(Function<? super SubstVar,? extends @NonNull JTypeMirror> substitution)
Like
JTypeMirror.subst(Function)
, except this typevar is not the subject of the substitution, only its bounds.
JTypeVar
withAnnotations(org.pcollections.PSet<SymbolicValue.SymAnnot> newTypeAnnots)
Returns a type mirror that is equal to this instance but has different type annotations.
JTypeVar
withUpperBound(@NonNull JTypeMirror newUB)
Return a new type variable with the same underlying symbol or capture variable, but the upper bound is now the given type.
box, equals, getAsSuper, getConstructors, getErasure, getSuperTypeSet, getTypeAnnotations, getTypeSystem, isArray, isBottom, isBoxedPrimitive, isClassOrInterface, isConvertibleTo, isFloatingPoint, isGeneric, isGenericTypeDeclaration, isIntegral, isInterface, isNumeric, isParameterizedType, isPrimitive, isPrimitive, isRaw, isReifiable, isSubtypeOf, isTop, isTypeVariable, isVoid, streamDeclaredMethods, toString, unbox
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4