/dports/java/eclipse-ecj/eclipse-ecj-4.4.2_1/org/eclipse/jdt/internal/compiler/lookup/ |
H A D | ClassScope.java | 183 …if (!sourceType.isPrivate() && sourceType.superclass instanceof SourceTypeBinding && sourceType.su… in buildFieldsAndMethods() 186 if (sourceType.isMemberType() && !sourceType.isLocalType()) in buildFieldsAndMethods() 414 sourceType.fPackage.addType(sourceType); in buildType() 419 return sourceType; in buildType() 437 sourceType.setTypeVariables(createTypeVariables(typeParameters, sourceType)); in buildTypeVariables() 457 if (sourceType.isEnum()) { in checkAndSetModifiers() 878 currentType = sourceType; in checkForInheritedMemberTypes() 935 return !detectHierarchyCycle(sourceType, sourceType.superclass, null); in connectSuperclass() 959 sourceType.typeBits |= sourceType.applyCloseableClassWhitelists(); in connectSuperclass() 966 detectHierarchyCycle(sourceType, sourceType.superclass, null); in connectSuperclass() [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 | ClassScope.java | 253 …if (!sourceType.isPrivate() && sourceType.superclass instanceof SourceTypeBinding && sourceType.su… in buildFieldsAndMethods() 256 if (sourceType.isMemberType() && !sourceType.isLocalType()) in buildFieldsAndMethods() 493 sourceType.fPackage.addType(sourceType); in buildType() 498 return sourceType; in buildType() 516 sourceType.setTypeVariables(createTypeVariables(typeParameters, sourceType)); in buildTypeVariables() 543 if (sourceType.isEnum()) { in checkAndSetModifiers() 555 if (sourceType.isEnum()) { in checkAndSetModifiers() 1009 currentType = sourceType; in checkForInheritedMemberTypes() 1066 return !detectHierarchyCycle(sourceType, sourceType.superclass, null); in connectSuperclass() 1103 detectHierarchyCycle(sourceType, sourceType.superclass, null); in connectSuperclass() [all …]
|
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/lookup/ |
H A D | ClassScope.java | 142 if (sourceType.isMemberType() && !sourceType.isLocalType()) in buildFieldsAndMethods() 289 sourceType.fPackage.addType(sourceType); in buildType() 301 && sourceType.isClass() && !sourceType.isStatic()) { in buildType() 338 return sourceType; in buildType() 389 sourceType); in checkAndSetModifiers() 429 sourceType); in checkAndSetModifiers() 439 sourceType); in checkAndSetModifiers() 453 sourceType); in checkAndSetModifiers() 477 sourceType); in checkAndSetModifiers() 667 return !detectCycle(sourceType, sourceType.superclass, null); in connectSuperclass() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Xml/System/Xml/Schema/ |
H A D | XmlValueConverter.cs | 542 if (sourceType == destinationType) in CreateInvalidClrMappingException() 927 Type sourceType = value.GetType(); in ToDecimal() 968 Type sourceType = value.GetType(); in ToInt32() 1002 Type sourceType = value.GetType(); in ToInt64() 1043 Type sourceType = value.GetType(); in ToString() 1120 Type sourceType = value.GetType(); in ChangeType() 1884 if (sourceType == TimeSpanType) { in ToString() 2616 if (SupportsType(sourceType)) in ChangeListType() 3150 if (sourceType == StringType) in ChangeListType() 3193 if (sourceType == DefaultClrType && sourceType != ObjectArrayType) in ChangeListType() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml/src/System/Xml/Schema/ |
H A D | XmlValueConverter.cs | 460 if (sourceType == destinationType) in CreateInvalidClrMappingException() 888 Type sourceType = value.GetType(); in ToDecimal() 913 Type sourceType = value.GetType(); in ToInt32() 1710 if (sourceType == ByteArrayType) in ToString() 1720 if (sourceType == TimeSpanType) in ToString() 1802 if (sourceType == StringType) in ChangeType() 1813 if (sourceType == StringType) in ChangeType() 1833 if (sourceType == StringType) in ChangeType() 3042 if (sourceType == StringType) in ChangeListType() 3086 if (sourceType == DefaultClrType && sourceType != ObjectArrayType) in ChangeListType() [all …]
|
/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 | ClassScope.java | 143 if (sourceType.isMemberType() && !sourceType.isLocalType()) in buildFieldsAndMethods() 225 && sourceType.isNestedType() in buildMemberTypes() 226 && sourceType.isClass() in buildMemberTypes() 227 && !sourceType.isStatic()) { in buildMemberTypes() 249 memberTypeBindings[count++] = memberScope.buildType(sourceType, sourceType.fPackage); in buildMemberTypes() 308 sourceType.fPackage.addType(sourceType); in buildType() 312 return sourceType; in buildType() 331 sourceType.typeVariables = createTypeVariables(typeParameters, sourceType); in buildTypeVariables() 597 currentType = sourceType; in checkForInheritedMemberTypes() 659 return !detectCycle(sourceType, sourceType.superclass, null); in connectSuperclass() [all …]
|
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.core/src/main/java/org/springframework/core/convert/support/ |
H A D | GenericConversionService.java | 124 getSourceConverterMap(sourceType).remove(targetType); in removeConvertible() 135 …return canConvert(sourceType != null ? TypeDescriptor.valueOf(sourceType) : null, TypeDescriptor.v… in canConvert() 142 if (sourceType == null) { in canConvert() 161 if (sourceType == null) { in convert() 163 return handleResult(sourceType, targetType, convertNullSource(sourceType, targetType)); in convert() 172 return handleResult(sourceType, targetType, result); in convert() 297 this.converters.put(sourceType, sourceMap); in getSourceConverterMap() 515 return convertNullSource(sourceType, targetType); in convert() 615 private final TypeDescriptor sourceType; field in GenericConversionService.ConverterCacheKey 620 this.sourceType = sourceType; in ConverterCacheKey() [all …]
|
H A D | MapToMapConverter.java | 53 public boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType) { in matches() argument 54 return canConvertKey(sourceType, targetType) && canConvertValue(sourceType, targetType); in matches() 58 public Object convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) { in convert() argument 71 Object targetKey = convertKey(sourceKey, sourceType, targetType.getMapKeyTypeDescriptor()); in convert() 72 …Object targetValue = convertValue(sourceValue, sourceType, targetType.getMapValueTypeDescriptor()); in convert() 90 private boolean canConvertKey(TypeDescriptor sourceType, TypeDescriptor targetType) { in canConvertKey() argument 91 return ConversionUtils.canConvertElements(sourceType.getMapKeyTypeDescriptor(), in canConvertKey() 95 private boolean canConvertValue(TypeDescriptor sourceType, TypeDescriptor targetType) { in canConvertValue() argument 96 return ConversionUtils.canConvertElements(sourceType.getMapValueTypeDescriptor(), in canConvertValue() 100 private Object convertKey(Object sourceKey, TypeDescriptor sourceType, TypeDescriptor targetType) { in convertKey() argument [all …]
|
/dports/misc/usd/USD-21.11/pxr/usd/usdShade/ |
H A D | nodeDefAPI.cpp | 244 sourceType, in _GetSourceAssetAttrName() 251 const TfToken &sourceType) const in SetSourceAsset() 266 const TfToken &sourceType) const in GetSourceAsset() 299 sourceType, in _GetSourceAssetSubIdentifierAttrName() 307 const TfToken &sourceType) const in SetSourceAssetSubIdentifier() 323 const TfToken &sourceType) const in GetSourceAssetSubIdentifier() 352 _GetSourceCodeAttrName(const TfToken &sourceType) in _GetSourceCodeAttrName() argument 359 sourceType, in _GetSourceCodeAttrName() 366 const TfToken &sourceType) const in SetSourceCode() 381 const TfToken &sourceType) const in GetSourceCode() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.dynalink/share/classes/jdk/dynalink/ |
H A D | TypeConverterFactory.java | 98 protected ClassMap<MethodHandle> computeValue(final Class<?> sourceType) { 99 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 103 return createConverter(sourceType, targetType); 117 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 120 if(!canAutoConvert(sourceType, targetType)) { 134 protected ClassMap<Boolean> computeValue(final Class<?> sourceType) { 135 return new ClassMap<Boolean>(getClassLoader(sourceType)) { 330 return getCacheableTypeConverterNull(sourceType, targetType); 337 return converterMap.get(sourceType).get(targetType); 351 return converterIdentityMap.get(sourceType).get(targetType); [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.dynalink/share/classes/jdk/dynalink/ |
H A D | TypeConverterFactory.java | 98 protected ClassMap<MethodHandle> computeValue(final Class<?> sourceType) { 99 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 103 return createConverter(sourceType, targetType); 117 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 120 if(!canAutoConvert(sourceType, targetType)) { 134 protected ClassMap<Boolean> computeValue(final Class<?> sourceType) { 135 return new ClassMap<Boolean>(getClassLoader(sourceType)) { 330 return getCacheableTypeConverterNull(sourceType, targetType); 337 return converterMap.get(sourceType).get(targetType); 351 return converterIdentityMap.get(sourceType).get(targetType); [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.dynalink/share/classes/jdk/dynalink/ |
H A D | TypeConverterFactory.java | 98 protected ClassMap<MethodHandle> computeValue(final Class<?> sourceType) { 99 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 103 return createConverter(sourceType, targetType); 117 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 120 if(!canAutoConvert(sourceType, targetType)) { 134 protected ClassMap<Boolean> computeValue(final Class<?> sourceType) { 135 return new ClassMap<Boolean>(getClassLoader(sourceType)) { 330 return getCacheableTypeConverterNull(sourceType, targetType); 337 return converterMap.get(sourceType).get(targetType); 351 return converterIdentityMap.get(sourceType).get(targetType); [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.dynalink/share/classes/jdk/dynalink/ |
H A D | TypeConverterFactory.java | 98 protected ClassMap<MethodHandle> computeValue(final Class<?> sourceType) { 99 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 103 return createConverter(sourceType, targetType); 117 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 120 if(!canAutoConvert(sourceType, targetType)) { 134 protected ClassMap<Boolean> computeValue(final Class<?> sourceType) { 135 return new ClassMap<Boolean>(getClassLoader(sourceType)) { 330 return getCacheableTypeConverterNull(sourceType, targetType); 337 return converterMap.get(sourceType).get(targetType); 351 return converterIdentityMap.get(sourceType).get(targetType); [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.dynalink/share/classes/jdk/dynalink/ |
H A D | TypeConverterFactory.java | 98 protected ClassMap<MethodHandle> computeValue(final Class<?> sourceType) { 99 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 103 return createConverter(sourceType, targetType); 117 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 120 if(!canAutoConvert(sourceType, targetType)) { 134 protected ClassMap<Boolean> computeValue(final Class<?> sourceType) { 135 return new ClassMap<Boolean>(getClassLoader(sourceType)) { 330 return getCacheableTypeConverterNull(sourceType, targetType); 337 return converterMap.get(sourceType).get(targetType); 351 return converterIdentityMap.get(sourceType).get(targetType); [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/nashorn/src/jdk/internal/dynalink/support/ |
H A D | TypeConverterFactory.java | 117 protected ClassMap<MethodHandle> computeValue(final Class<?> sourceType) { 118 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 122 return createConverter(sourceType, targetType); 136 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 139 if(!canAutoConvert(sourceType, targetType)) { 153 protected ClassMap<Boolean> computeValue(final Class<?> sourceType) { 154 return new ClassMap<Boolean>(getClassLoader(sourceType)) { 349 return getCacheableTypeConverterNull(sourceType, targetType); 356 return converterMap.get(sourceType).get(targetType); 370 return converterIdentityMap.get(sourceType).get(targetType); [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/nashorn/src/jdk/internal/dynalink/support/ |
H A D | TypeConverterFactory.java | 117 protected ClassMap<MethodHandle> computeValue(final Class<?> sourceType) { 118 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 122 return createConverter(sourceType, targetType); 136 return new ClassMap<MethodHandle>(getClassLoader(sourceType)) { 139 if(!canAutoConvert(sourceType, targetType)) { 153 protected ClassMap<Boolean> computeValue(final Class<?> sourceType) { 154 return new ClassMap<Boolean>(getClassLoader(sourceType)) { 349 return getCacheableTypeConverterNull(sourceType, targetType); 356 return converterMap.get(sourceType).get(targetType); 370 return converterIdentityMap.get(sourceType).get(targetType); [all …]
|
/dports/finance/prestashop/prestashop/src/Core/Domain/Theme/ValueObject/ |
H A D | ThemeImportSource.php | 44 private $sourceType; variable in PrestaShop\\PrestaShop\\Core\\Domain\\Theme\\ValueObject\\ThemeImportSource 83 * @param string $sourceType 88 private function __construct($sourceType, $source) argument 90 $this->assertSupportedThemeImportSourceTypeSupplied($sourceType); 92 $this->sourceType = $sourceType; 101 return $this->sourceType; 113 * @param string $sourceType 117 private function assertSupportedThemeImportSourceTypeSupplied($sourceType) argument 121 if (!in_array($sourceType, $supportedSources)) { 122 …import source type supplied. Supported sources are: "%s"', var_export($sourceType, true), implode(…
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.dynalink/share/classes/jdk/dynalink/ |
H A D | TypeConverterFactory.java | 127 (sourceType, targetType) -> createConverter(sourceType, targetType, afactories)); in TypeConverterFactory() 129 converterIdentityMap = BiClassValue.computing((sourceType, targetType) -> { in TypeConverterFactory() 130 if(!canAutoConvert(sourceType, targetType)) { in TypeConverterFactory() 140 … (sourceType, targetType) -> getTypeConverterNull(sourceType, targetType, converterMap) != null); in TypeConverterFactory() 253 if(TypeUtilities.isMethodInvocationConvertible(sourceType, targetType1)) { in compareConversion() 254 if(!TypeUtilities.isMethodInvocationConvertible(sourceType, targetType2)) { in compareConversion() 257 } else if(TypeUtilities.isMethodInvocationConvertible(sourceType, targetType2)) { in compareConversion() 281 return getCacheableTypeConverterNull(sourceType, targetType, converterMap); in getTypeConverterNull() 288 return converterMap.get(sourceType, targetType); in getCacheableTypeConverter() 302 return converterIdentityMap.get(sourceType, targetType); in getTypeConverter() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.dynalink/share/classes/jdk/dynalink/ |
H A D | TypeConverterFactory.java | 127 (sourceType, targetType) -> createConverter(sourceType, targetType, afactories)); in TypeConverterFactory() 129 converterIdentityMap = BiClassValue.computing((sourceType, targetType) -> { in TypeConverterFactory() 130 if(!canAutoConvert(sourceType, targetType)) { in TypeConverterFactory() 140 … (sourceType, targetType) -> getTypeConverterNull(sourceType, targetType, converterMap) != null); in TypeConverterFactory() 253 if(TypeUtilities.isMethodInvocationConvertible(sourceType, targetType1)) { in compareConversion() 254 if(!TypeUtilities.isMethodInvocationConvertible(sourceType, targetType2)) { in compareConversion() 257 } else if(TypeUtilities.isMethodInvocationConvertible(sourceType, targetType2)) { in compareConversion() 281 return getCacheableTypeConverterNull(sourceType, targetType, converterMap); in getTypeConverterNull() 288 return converterMap.get(sourceType, targetType); in getCacheableTypeConverter() 302 return converterIdentityMap.get(sourceType, targetType); in getTypeConverter() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.dynalink/share/classes/jdk/dynalink/ |
H A D | TypeConverterFactory.java | 127 (sourceType, targetType) -> createConverter(sourceType, targetType, afactories)); in TypeConverterFactory() 129 converterIdentityMap = BiClassValue.computing((sourceType, targetType) -> { in TypeConverterFactory() 130 if(!canAutoConvert(sourceType, targetType)) { in TypeConverterFactory() 140 … (sourceType, targetType) -> getTypeConverterNull(sourceType, targetType, converterMap) != null); in TypeConverterFactory() 253 if(TypeUtilities.isMethodInvocationConvertible(sourceType, targetType1)) { in compareConversion() 254 if(!TypeUtilities.isMethodInvocationConvertible(sourceType, targetType2)) { in compareConversion() 257 } else if(TypeUtilities.isMethodInvocationConvertible(sourceType, targetType2)) { in compareConversion() 281 return getCacheableTypeConverterNull(sourceType, targetType, converterMap); in getTypeConverterNull() 288 return converterMap.get(sourceType, targetType); in getCacheableTypeConverter() 302 return converterIdentityMap.get(sourceType, targetType); in getTypeConverter() [all …]
|
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.core/src/test/java/org/springframework/core/convert/support/ |
H A D | MapToMapConverterTests.java | 49 TypeDescriptor sourceType = TypeDescriptor.forObject(map); in scalarMap() local 51 assertTrue(conversionService.canConvert(sourceType, targetType)); in scalarMap() 53 conversionService.convert(map, sourceType, targetType); in scalarMap() 58 assertTrue(conversionService.canConvert(sourceType, targetType)); in scalarMap() 84 assertTrue(conversionService.canConvert(sourceType, targetType)); in scalarMapNotGenericSourceField() 86 conversionService.convert(map, sourceType, targetType); in scalarMapNotGenericSourceField() 106 TypeDescriptor sourceType = TypeDescriptor.forObject(map); in collectionMap() local 110 conversionService.convert(map, sourceType, targetType); in collectionMap() 135 conversionService.convert(map, sourceType, targetType); in collectionMapSourceTarget() 175 TypeDescriptor sourceType = TypeDescriptor.forObject(map); in emptyMap() local [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/nunit-lite/NUnitLite-1.0.0/src/framework/Attributes/ |
H A D | ValueSourceAttribute.cs | 39 private readonly Type sourceType; field in NUnit.Framework.ValueSourceAttribute 57 public ValueSourceAttribute(Type sourceType, string sourceName) in ValueSourceAttribute() argument 59 this.sourceType = sourceType; in ValueSourceAttribute() 76 get { return sourceType; } 109 Type sourceType = this.sourceType; in GetDataSource() 110 if (sourceType == null) in GetDataSource() 111 sourceType = parameter.Member.ReflectedType; in GetDataSource() 116 return Reflect.Construct(sourceType) as IEnumerable; in GetDataSource() 119 MemberInfo[] members = sourceType.GetMember(sourceName, in GetDataSource() 124 object sourceobject = Internal.Reflect.Construct(sourceType); in GetDataSource()
|
H A D | TestCaseSourceAttribute.cs | 43 private readonly Type sourceType; field in NUnit.Framework.TestCaseSourceAttribute 59 public TestCaseSourceAttribute(Type sourceType, string sourceName) in TestCaseSourceAttribute() argument 61 this.sourceType = sourceType; in TestCaseSourceAttribute() 69 public TestCaseSourceAttribute(Type sourceType) in TestCaseSourceAttribute() argument 71 this.sourceType = sourceType; in TestCaseSourceAttribute() 87 get { return sourceType; } 176 Type sourceType = this.sourceType; in GetTestCasesFor() 177 if (sourceType == null) in GetTestCasesFor() 178 sourceType = method.ReflectedType; in GetTestCasesFor() 182 return Reflect.Construct(sourceType) as IEnumerable; in GetTestCasesFor() [all …]
|
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.core/src/main/java/org/springframework/core/convert/converter/ |
H A D | GenericConverter.java | 59 Object convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType); in convert() argument 67 private final Class<?> sourceType; field in GenericConverter.ConvertiblePair 76 public ConvertiblePair(Class<?> sourceType, Class<?> targetType) { in ConvertiblePair() argument 77 Assert.notNull(sourceType, "Source type must not be null"); in ConvertiblePair() 79 this.sourceType = sourceType; in ConvertiblePair() 84 return this.sourceType; in getSourceType() 100 … return this.sourceType.equals(other.sourceType) && this.targetType.equals(other.targetType); in equals() 106 return this.sourceType.hashCode() * 31 + this.targetType.hashCode(); in hashCode()
|
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.integration-tests/src/test/java/org/springframework/expression/spel/support/ |
H A D | BeanFactoryTypeConverter.java | 69 public boolean canConvert(Class<?> sourceType, Class<?> targetType) { in canConvert() argument 70 if (conversionService.canConvert(sourceType, targetType)) { in canConvert() 73 if (!String.class.isAssignableFrom(sourceType) && !String.class.isAssignableFrom(targetType)) { in canConvert() 77 if (!String.class.isAssignableFrom(sourceType)) { in canConvert() 78 …return delegate.findCustomEditor(sourceType, null) != null || delegate.getDefaultEditor(sourceType… in canConvert() 88 Class<?> sourceType = sourceTypeDescriptor.getObjectType(); in canConvert() local 90 return canConvert(sourceType, targetType); in canConvert() 97 if (conversionService.canConvert(sourceType, targetType)) { in convertValue() 98 return conversionService.convert(value, sourceType, targetType); in convertValue() 100 if (!String.class.isAssignableFrom(sourceType.getType())) { in convertValue() [all …]
|