/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/ |
H A D | JGenerifiableImpl.java | 40 private List<JTypeVar> typeVariables = null; field in JGenerifiableImpl 45 if(typeVariables!=null) { in declare() 47 for (int i = 0; i < typeVariables.size(); i++) { in declare() 49 f.d(typeVariables.get(i)); in declare() 58 if(typeVariables==null) in generify() 59 typeVariables = new ArrayList<JTypeVar>(3); in generify() 60 typeVariables.add(v); in generify() 73 if(typeVariables==null) in typeParams() 76 return typeVariables.toArray(new JTypeVar[typeVariables.size()]); in typeParams()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/ |
H A D | JGenerifiableImpl.java | 40 private List<JTypeVar> typeVariables = null; field in JGenerifiableImpl 45 if(typeVariables!=null) { in declare() 47 for (int i = 0; i < typeVariables.size(); i++) { in declare() 49 f.d(typeVariables.get(i)); in declare() 58 if(typeVariables==null) in generify() 59 typeVariables = new ArrayList<JTypeVar>(3); in generify() 60 typeVariables.add(v); in generify() 73 if(typeVariables==null) in typeParams() 76 return typeVariables.toArray(new JTypeVar[typeVariables.size()]); in typeParams()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/lookup/ |
H A D | ParameterizedGenericMethodBinding.java | 39 this.typeVariables = NoTypeVariables; in ParameterizedGenericMethodBinding() 51 TypeVariableBinding[] originalVariables = originalMethod.typeVariables; in ParameterizedGenericMethodBinding() 61 this.typeVariables = NoTypeVariables; in ParameterizedGenericMethodBinding() 78 TypeVariableBinding[] typeVariables = originalMethod.typeVariables; in computeCompatibleMethod() local 82 if (substitutes.length != typeVariables.length) { in computeCompatibleMethod() 93 int varLength = typeVariables.length; in computeCompatibleMethod() 96 collectedSubstitutes.put(typeVariables[i], new TypeBinding[1]); in computeCompatibleMethod() 109 mostSpecificSubstitute = typeVariables[i]; in computeCompatibleMethod() 124 for (int i = 0, length = typeVariables.length; i < length; i++) { in computeCompatibleMethod() 125 TypeVariableBinding typeVariable = typeVariables[i]; in computeCompatibleMethod() [all …]
|
H A D | RawTypeBinding.java | 36 if (originalMethod.typeVariables == NoTypeVariables) { in createParameterizedMethod() 91 TypeVariableBinding[] typeVariables = this.type.typeVariables(); in initializeArguments() local 92 int length = typeVariables.length; in initializeArguments() 95 typeArguments[i] = typeVariables[i].erasure(); in initializeArguments() 128 TypeVariableBinding[] typeVariables = currentType.type.typeVariables(); in substitute() local 129 int length = typeVariables.length; in substitute() 131 … if (originalVariable.rank < length && typeVariables[originalVariable.rank] == originalVariable) { in substitute()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/ast/ |
H A D | ParameterizedSingleTypeReference.java | 36 TypeVariableBinding[] typeVariables = currentType.typeVariables(); in checkBounds() local 38 if (argTypes != null && typeVariables != null) { // may be null in error cases in checkBounds() 39 for (int i = 0, argLength = typeVariables.length; i < argLength; i++) in checkBounds() 40 if (!typeVariables[i].boundCheck(parameterizedType, argTypes[i])) in checkBounds() 41 …scope.problemReporter().typeMismatchError(argTypes[i], typeVariables[i], currentType, this.typeArg… in checkBounds() 138 TypeVariableBinding[] typeVariables = currentType.typeVariables(); in internalResolveType() 139 if (typeVariables == NoTypeVariables) { // check generic in internalResolveType() 142 } else if (argLength != typeVariables.length) { // check arity in internalResolveType() 149 if (typeVariables[i] != argTypes[i]) in internalResolveType() 157 if (!typeVariables[i].boundCheck(parameterizedType, argTypes[i])) in internalResolveType() [all …]
|
H A D | ParameterizedQualifiedTypeReference.java | 51 TypeVariableBinding[] typeVariables = currentType.typeVariables(); in checkBounds() local 53 if (argTypes != null && typeVariables != null) { // argTypes may be null in error cases in checkBounds() 54 for (int i = 0, argLength = typeVariables.length; i < argLength; i++) in checkBounds() 55 if (!typeVariables[i].boundCheck(parameterizedType, argTypes[i])) in checkBounds() 56 …scope.problemReporter().typeMismatchError(argTypes[i], typeVariables[i], currentType, this.typeArg… in checkBounds() 169 TypeVariableBinding[] typeVariables = currentType.typeVariables(); in internalResolveType() 170 if (typeVariables == NoTypeVariables) { // check generic in internalResolveType() 173 } else if (argLength != typeVariables.length) { // check arity in internalResolveType() 187 if (!typeVariables[j].boundCheck(parameterizedType, argTypes[j])) in internalResolveType() 188 … scope.problemReporter().typeMismatchError(argTypes[j], typeVariables[j], currentType, args[j]); in internalResolveType()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ |
H A D | MethodProposalInfo.java | 96 Map<String, char[]> typeVariables= computeTypeVariables(type); in findMethod() local 97 return findMethod(name, paramTypes, isConstructor, type, typeVariables); in findMethod() 154 …[] paramTypes, boolean isConstructor, IType type, Map<String, char[]> typeVariables) throws JavaMo… in findMethod() argument 157 if (isSameMethodSignature(name, paramTypes, isConstructor, methods[i], typeVariables, type)) { in findMethod() 180 …aramTypes, boolean isConstructor, IMethod method, Map<String, char[]> typeVariables, IType type) t… in isSameMethodSignature() argument 196 String ourParamName= computeSimpleTypeName(paramTypes[i], typeVariables); in isSameMethodSignature() 197 …herParamName1= computeSimpleTypeName(otherParams[i + syntheticParameterCorrection], typeVariables); in isSameMethodSignature() 198 …= computeSimpleTypeName(otherParamsFromSignature[i + syntheticParameterCorrection], typeVariables); in isSameMethodSignature() 218 private String computeSimpleTypeName(String signature, Map<String, char[]> typeVariables) { in computeSimpleTypeName() argument 223 char[] typeVar= typeVariables.get(simpleName); in computeSimpleTypeName()
|
/dports/java/eclipse-ecj/eclipse-ecj-4.4.2_1/org/eclipse/jdt/internal/compiler/lookup/ |
H A D | InferenceContext.java | 30 TypeVariableBinding[] typeVariables = genericMethod.typeVariables; in InferenceContext() local 31 int varLength = typeVariables.length; in InferenceContext() 80 for (int i = 0, length = this.genericMethod.typeVariables.length; i < length; i++) { in toString() 81 buffer.append(this.genericMethod.typeVariables[i]); in toString() 106 buffer.append("\n\t\t").append(this.genericMethod.typeVariables[i].sourceName); //$NON-NLS-1$ in toString() 131 buffer.append('{').append(this.genericMethod.typeVariables[i].sourceName); in toString()
|
H A D | ParameterizedGenericMethodBinding.java | 80 TypeVariableBinding[] typeVariables = originalMethod.typeVariables; in computeCompatibleMethod() local 87 if (substitutes.length != typeVariables.length) { in computeCompatibleMethod() 235 for (int i = 0, length = typeVariables.length; i < length; i++) { in computeCompatibleMethod() 236 TypeVariableBinding typeVariable = typeVariables[i]; in computeCompatibleMethod() 351 TypeVariableBinding[] originalVariables = originalMethod.typeVariables; in inferFromArgumentTypes() 374 int varLength = typeVariables.length; in resolveSubstituteConstraints() 378 TypeVariableBinding current = typeVariables[i]; in resolveSubstituteConstraints() 416 TypeVariableBinding current = typeVariables[i]; in resolveSubstituteConstraints() 434 TypeVariableBinding current = typeVariables[i]; in resolveSubstituteConstraints() 476 this.typeVariables = Binding.NO_TYPE_VARIABLES; in ParameterizedGenericMethodBinding() [all …]
|
H A D | BinaryTypeBinding.java | 206 this.typeVariables = prototype.typeVariables; in BinaryTypeBinding() 314 if (this.typeVariables == null || this.typeVariables == Binding.NO_TYPE_VARIABLES) { in addMethodTypeVariables() 318 return this.typeVariables; in addMethodTypeVariables() 323 System.arraycopy(this.typeVariables, 0, combinedTypeVars, 0, this.typeVariables.length); in addMethodTypeVariables() 770 result.typeVariables = typeVars; in createMethod() 885 this.typeVariables = result; in createTypeVariables() 1829 return this.typeVariables = this.prototype.typeVariables(); in typeVariables() 1832 return this.typeVariables; in typeVariables() 1835 this.typeVariables[i].resolve(); in typeVariables() 1837 return this.typeVariables; in typeVariables() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ |
H A D | InferenceContext.java | 33 TypeVariableBinding[] typeVariables = genericMethod.typeVariables; in InferenceContext() local 34 int varLength = typeVariables.length; in InferenceContext() 84 for (int i = 0, length = this.genericMethod.typeVariables.length; i < length; i++) { in toString() 85 buffer.append(this.genericMethod.typeVariables[i]); in toString() 110 buffer.append("\n\t\t").append(this.genericMethod.typeVariables[i].sourceName); //$NON-NLS-1$ in toString() 135 buffer.append('{').append(this.genericMethod.typeVariables[i].sourceName); in toString()
|
H A D | ParameterizedGenericMethodBinding.java | 72 TypeVariableBinding[] typeVariables = originalMethod.typeVariables; in computeCompatibleMethod() local 79 if (substitutes.length != typeVariables.length) { in computeCompatibleMethod() 166 for (int i = 0, length = typeVariables.length; i < length; i++) { in computeCompatibleMethod() 167 TypeVariableBinding typeVariable = typeVariables[i]; in computeCompatibleMethod() 204 TypeVariableBinding[] typeVariables = originalMethod.typeVariables; in computeCompatibleMethod18() local 420 int varLength = typeVariables.length; 424 TypeVariableBinding current = typeVariables[i]; 462 TypeVariableBinding current = typeVariables[i]; 480 TypeVariableBinding current = typeVariables[i]; 522 this.typeVariables = Binding.NO_TYPE_VARIABLES; [all …]
|
H A D | MethodBinding.java | 180 TypeVariableBinding[] vars = method.typeVariables; in areTypeVariableErasuresEqual() 181 if (this.typeVariables == vars) in areTypeVariableErasuresEqual() 184 int length = this.typeVariables.length; in areTypeVariableErasuresEqual() 189 …if (TypeBinding.notEquals(this.typeVariables[i], vars[i]) && TypeBinding.notEquals(this.typeVariab… in areTypeVariableErasuresEqual() 197 int length = this.typeVariables.length; in asRawMethod() 418 int length = this.typeVariables.length; in computeSubstitutedMethod() 419 TypeVariableBinding[] vars = method.typeVariables; in computeSubstitutedMethod() 752 for (int i = this.typeVariables.length; --i >= 0;) in getTypeVariable() 754 return this.typeVariables[i]; in getTypeVariable() 1327 public TypeVariableBinding[] typeVariables() { in typeVariables() method in MethodBinding [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/reflect/Generics/ |
H A D | HashCodeTest.java | 46 Set<TypeVariable> typeVariables = new HashSet<TypeVariable>(); in main() local 59 typeVariables.add(tv); in main() 69 if (!typeVariables.remove(tv)) in main() 74 if (typeVariables.size() != 0 ) in main()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/lang/reflect/Generics/ |
H A D | HashCodeTest.java | 46 Set<TypeVariable> typeVariables = new HashSet<TypeVariable>(); in main() local 59 typeVariables.add(tv); in main() 69 if (!typeVariables.remove(tv)) in main() 74 if (typeVariables.size() != 0 ) in main()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/reflect/Generics/ |
H A D | HashCodeTest.java | 46 Set<TypeVariable> typeVariables = new HashSet<TypeVariable>(); in main() local 59 typeVariables.add(tv); in main() 69 if (!typeVariables.remove(tv)) in main() 74 if (typeVariables.size() != 0 ) in main()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/lang/reflect/Generics/ |
H A D | HashCodeTest.java | 46 Set<TypeVariable> typeVariables = new HashSet<TypeVariable>(); in main() local 59 typeVariables.add(tv); in main() 69 if (!typeVariables.remove(tv)) in main() 74 if (typeVariables.size() != 0 ) in main()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/lang/reflect/Generics/ |
H A D | HashCodeTest.java | 46 Set<TypeVariable> typeVariables = new HashSet<TypeVariable>(); in main() local 59 typeVariables.add(tv); in main() 69 if (!typeVariables.remove(tv)) in main() 74 if (typeVariables.size() != 0 ) in main()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/lang/reflect/Generics/ |
H A D | HashCodeTest.java | 46 Set<TypeVariable> typeVariables = new HashSet<TypeVariable>(); in main() local 59 typeVariables.add(tv); in main() 69 if (!typeVariables.remove(tv)) in main() 74 if (typeVariables.size() != 0 ) in main()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/lang/reflect/Generics/ |
H A D | HashCodeTest.java | 46 Set<TypeVariable> typeVariables = new HashSet<TypeVariable>(); in main() local 59 typeVariables.add(tv); in main() 69 if (!typeVariables.remove(tv)) in main() 74 if (typeVariables.size() != 0 ) in main()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/lang/reflect/Generics/ |
H A D | HashCodeTest.java | 46 Set<TypeVariable> typeVariables = new HashSet<TypeVariable>(); in main() local 59 typeVariables.add(tv); in main() 69 if (!typeVariables.remove(tv)) in main() 74 if (typeVariables.size() != 0 ) in main()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/java/lang/reflect/Generics/ |
H A D | HashCodeTest.java | 46 Set<TypeVariable> typeVariables = new HashSet<TypeVariable>(); in main() local 59 typeVariables.add(tv); in main() 69 if (!typeVariables.remove(tv)) in main() 74 if (typeVariables.size() != 0 ) in main()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/java/lang/reflect/Generics/ |
H A D | HashCodeTest.java | 46 Set<TypeVariable> typeVariables = new HashSet<TypeVariable>(); in main() local 59 typeVariables.add(tv); in main() 69 if (!typeVariables.remove(tv)) in main() 74 if (typeVariables.size() != 0 ) in main()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/ |
H A D | CompletionJavadoc.java | 246 TypeVariableBinding[] typeVariables = null; in missingTypeParameterTags() local 252 typeVariables = methodDeclaration.binding.typeVariables; in missingTypeParameterTags() 257 typeVariables = typeDeclaration.binding.typeVariables; in missingTypeParameterTags() 260 if (typeVariables == null || typeVariables.length == 0) return null; in missingTypeParameterTags()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/ |
H A D | CodeSnippetTypeDeclaration.java | 56 TypeVariableBinding[] typeVariables = this.binding.typeVariables(); in generateCode() local 57 for (int i = 0, max = typeVariables.length; i < max; i++) { in generateCode() 58 TypeVariableBinding typeVariableBinding = typeVariables[i]; in generateCode()
|