Top Methods
com.github.javaparser.resolution.types.parametrization

public Interface ResolvedTypeParameterValueProvider

Known Direct Implementers
com.github.javaparser.resolution.types.ResolvedReferenceType
Imports
com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration, com.github.javaparser.resolution.types.ResolvedType, .ResolvedWildcard, java.util.Optional

Author
Federico Tomassetti

Method Summary

Modifier and TypeMethod and Description
public Optional<ResolvedType>
public Optional<ResolvedType>
typeParamValue(ResolvedTypeParameterDeclaration typeParameterDeclaration)

Calculate the value for the given type parameter.

public default ResolvedType
useThisTypeParametersOnTheGivenType(ResolvedType type)

Replace the type typeParametersValues present in the given type with the ones for which this type has a value.

Method Detail

getGenericParameterByNameback to summary
public Optional<ResolvedType> getGenericParameterByName(String name)
typeParamValueback to summary
public Optional<ResolvedType> typeParamValue(ResolvedTypeParameterDeclaration typeParameterDeclaration)

Calculate the value for the given type parameter. It could be inherited.

useThisTypeParametersOnTheGivenTypeback to summary
public default ResolvedType useThisTypeParametersOnTheGivenType(ResolvedType type)

Replace the type typeParametersValues present in the given type with the ones for which this type has a value.