public abstract static class TypeVariableSource.AbstractBase extends ModifierReviewable.AbstractBase implements TypeVariableSource
TypeVariableSource.AbstractBase, TypeVariableSource.Visitor<T>ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumerationUNDEFINEDEMPTY_MASK| Constructor and Description |
|---|
AbstractBase() |
| Modifier and Type | Method and Description |
|---|---|
TypeDescription.Generic |
findExpectedVariable(String symbol)
Finds a particular variable with the given name in the closes type variable source that is visible from this instance.
|
TypeDescription.Generic |
findVariable(String symbol)
Finds a particular variable with the given name in the closes type variable source that is visible from this instance.
|
protected abstract String |
toSafeString()
Returns a
Object.toString() representation that does not attempt to resolve any
type variables to avoid stack overflow exceptions. |
getEnumerationState, getFieldManifestation, getFieldPersistence, getMethodManifestation, getMethodStrictness, getOwnership, getParameterManifestation, getProvisioningState, getSynchronizationState, getSyntheticState, getTypeManifestation, getVisibility, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, getEnclosingSource, getTypeVariables, isGenerified, isInferrableisAbstractgetOwnership, getVisibility, isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStaticgetModifiers, getSyntheticState, isFinal, isSynthetic@MaybeNull public TypeDescription.Generic findVariable(String symbol)
findVariable in interface TypeVariableSourcesymbol - The symbolic name of the type variable.null if it was not found.public TypeDescription.Generic findExpectedVariable(String symbol)
findExpectedVariable in interface TypeVariableSourcesymbol - The symbolic name of the type variable.protected abstract String toSafeString()
Object.toString() representation that does not attempt to resolve any
type variables to avoid stack overflow exceptions.Copyright © 2014–2023. All rights reserved.