Home
last modified time | relevance | path

Searched refs:typeParameterDeclaration (Results 1 – 10 of 10) sorted by relevance

/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DInferenceVariable.java21 private ResolvedTypeParameterDeclaration typeParameterDeclaration; field in InferenceVariable
31 …ublic static InferenceVariable unnamed(ResolvedTypeParameterDeclaration typeParameterDeclaration) { in unnamed() argument
32 … return new InferenceVariable("__unnamed__" + (unnamedInstantiated++), typeParameterDeclaration); in unnamed()
35 … public InferenceVariable(String name, ResolvedTypeParameterDeclaration typeParameterDeclaration) { in InferenceVariable() argument
37 this.typeParameterDeclaration = typeParameterDeclaration; in InferenceVariable()
53 …return typeParameterDeclaration != null ? typeParameterDeclaration.equals(that.typeParameterDeclar… in equals()
54 : that.typeParameterDeclaration == null; in equals()
60 …result = 31 * result + (typeParameterDeclaration != null ? typeParameterDeclaration.hashCode() : 0… in hashCode()
75 if (typeParameterDeclaration == null) { in getTypeParameterDeclaration()
78 return typeParameterDeclaration; in getTypeParameterDeclaration()
[all …]
DSubstitution.java23 …public Substitution withPair(ResolvedTypeParameterDeclaration typeParameterDeclaration, ResolvedTy… in withPair() argument
27 newInstance.typeParameterDeclarations.add(typeParameterDeclaration); in withPair()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typeinference/bounds/
DSubtypeOfBoundTest.java32 …ResolvedTypeParameterDeclaration typeParameterDeclaration = mock(ResolvedTypeParameterDeclaration.… in recognizeProperLowerBound1() local
36 InferenceVariable inferenceVariable = new InferenceVariable("α", typeParameterDeclaration); in recognizeProperLowerBound1()
44 …ResolvedTypeParameterDeclaration typeParameterDeclaration = mock(ResolvedTypeParameterDeclaration.… in recognizeProperLowerBound2() local
48 InferenceVariable inferenceVariable = new InferenceVariable("α", typeParameterDeclaration); in recognizeProperLowerBound2()
56 …ResolvedTypeParameterDeclaration typeParameterDeclaration = mock(ResolvedTypeParameterDeclaration.… in recognizeProperUpperBound1() local
60 InferenceVariable inferenceVariable = new InferenceVariable("α", typeParameterDeclaration); in recognizeProperUpperBound1()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/
DResolvedReferenceType.java344 … Optional<ResolvedType> typeParamValue(ResolvedTypeParameterDeclaration typeParameterDeclaration) { in typeParamValue() argument
345 if (typeParameterDeclaration.declaredOnMethod()) { in typeParamValue()
349 if (typeId.equals(typeParameterDeclaration.getContainerId())) { in typeParamValue()
350 return Optional.of(this.typeParametersMap().getValue(typeParameterDeclaration)); in typeParamValue()
353 if (ancestor.getId().equals(typeParameterDeclaration.getContainerId())) { in typeParamValue()
354 return Optional.of(ancestor.typeParametersMap().getValue(typeParameterDeclaration)); in typeParamValue()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/parametrization/
DResolvedTypeParametersMap.java141 …for (ResolvedTypeParameterDeclaration typeParameterDeclaration : this.nameToDeclaration.values()) { in replaceAll()
142 …type = type.replaceTypeVariables(typeParameterDeclaration, getValue(typeParameterDeclaration), inf… in replaceAll()
DResolvedTypeParameterValueProvider.java39 … Optional<ResolvedType> typeParamValue(ResolvedTypeParameterDeclaration typeParameterDeclaration); in typeParamValue() argument
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_typesystem_parametrization_TypeParametersMap.txt23 …Line 134) type.replaceTypeVariables(typeParameterDeclaration, getValue(typeParameterDeclaration), …
24 …Line 134) getValue(typeParameterDeclaration) ==> com.github.javaparser.symbolsolver.model.typesyst…
Dcom_github_javaparser_symbolsolver_model_typesystem_ReferenceType.txt145 …Line 372) typeParameterDeclaration.declaredOnMethod() ==> com.github.javaparser.symbolsolver.model…
148 …Line 376) typeId.equals(typeParameterDeclaration.getContainerId()) ==> java.lang.String.equals(jav…
149 …Line 376) typeParameterDeclaration.getContainerId() ==> com.github.javaparser.symbolsolver.model.d…
150 …Line 377) Optional.of(this.typeParametersMap().getValue(typeParameterDeclaration)) ==> java.util.O…
151 …Line 377) this.typeParametersMap().getValue(typeParameterDeclaration) ==> com.github.javaparser.sy…
154 …Line 380) ancestor.getId().equals(typeParameterDeclaration.getContainerId()) ==> java.lang.String.…
156 …Line 380) typeParameterDeclaration.getContainerId() ==> com.github.javaparser.symbolsolver.model.d…
157 …Line 381) Optional.of(ancestor.typeParametersMap().getValue(typeParameterDeclaration)) ==> java.ut…
158 …Line 381) ancestor.typeParametersMap().getValue(typeParameterDeclaration) ==> com.github.javaparse…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/declarations/common/
DMethodDeclarationCommonLogic.java91 protected ResolvedType toType(ResolvedTypeParameterDeclaration typeParameterDeclaration) { in toType() argument
92 return new ResolvedTypeVariable(typeParameterDeclaration); in toType()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistUtils.java152 … ResolvedTypeParameterDeclaration typeParameterDeclaration = typeParameterDeclarationOpt.get(); in signatureTypeToType() local
153 return new ResolvedTypeVariable(typeParameterDeclaration); in signatureTypeToType()