/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/ |
D | ClassUtilTest.java | 13 import com.fasterxml.jackson.databind.util.ClassUtil; 75 assertTrue(ClassUtil.isConcrete(getClass())); in testIsConcrete() 76 assertFalse(ClassUtil.isConcrete(BaseClass.class)); in testIsConcrete() 77 assertFalse(ClassUtil.isConcrete(BaseInt.class)); in testIsConcrete() 79 assertFalse(ClassUtil.isConcrete(ConcreteAndAbstract.class.getDeclaredMethod("a"))); in testIsConcrete() 80 assertTrue(ClassUtil.isConcrete(ConcreteAndAbstract.class.getDeclaredMethod("c"))); in testIsConcrete() 85 assertEquals("annotation", ClassUtil.canBeABeanType(java.lang.annotation.Retention.class)); in testCanBeABeanType() 86 assertEquals("array", ClassUtil.canBeABeanType(String[].class)); in testCanBeABeanType() 87 assertEquals("enum", ClassUtil.canBeABeanType(TestEnum.class)); in testCanBeABeanType() 88 assertEquals("primitive", ClassUtil.canBeABeanType(Integer.TYPE)); in testCanBeABeanType() [all …]
|
/external/proguard/src/proguard/classfile/visitor/ |
D | SimpleClassPrinter.java | 24 import proguard.classfile.util.ClassUtil; 79 ps.println(ClassUtil.externalFullClassDescription( in visitProgramClass() 89 ps.println(ClassUtil.externalFullClassDescription( in visitLibraryClass() 101 ps.println(ClassUtil.externalFullClassDescription( in visitProgramField() 107 ClassUtil.externalFullFieldDescription( in visitProgramField() 118 ps.println(ClassUtil.externalFullClassDescription( in visitProgramMethod() 124 ClassUtil.externalFullMethodDescription( in visitProgramMethod() 136 ps.println(ClassUtil.externalFullClassDescription( in visitLibraryField() 142 ClassUtil.externalFullFieldDescription( in visitLibraryField() 153 ps.println(ClassUtil.externalFullClassDescription( in visitLibraryMethod() [all …]
|
/external/proguard/src/proguard/evaluation/value/ |
D | TypedReferenceValue.java | 24 import proguard.classfile.util.ClassUtil; 95 int thisDimensionCount = ClassUtil.internalArrayTypeDimensionCount(thisType); in instanceOf() 96 int otherDimensionCount = ClassUtil.internalArrayTypeDimensionCount(otherType); in instanceOf() 105 (ClassUtil.isInternalPrimitiveType(thisType.charAt(0)) || in instanceOf() 106 ClassUtil.isInternalPrimitiveType(otherType.charAt(0)))) in instanceOf() 116 thisType = ClassUtil.internalClassNameFromClassType(thisType); in instanceOf() 122 otherType = ClassUtil.internalClassNameFromClassType(otherType); in instanceOf() 129 !ClassUtil.isInternalArrayInterfaceName(otherType)) in instanceOf() 138 !ClassUtil.isInternalArrayInterfaceName(thisType)) in instanceOf() 190 … !ClassUtil.isInternalArrayType(type) ? ValueFactory.REFERENCE_VALUE_JAVA_LANG_OBJECT_MAYBE_NULL : in referenceArrayLoad() [all …]
|
/external/proguard/src/proguard/shrink/ |
D | ShortestUsagePrinter.java | 96 ps.println(ClassUtil.externalClassName(programClass.getName())); in visitProgramClass() 106 ps.println(ClassUtil.externalClassName(libraryClass.getName())); in visitLibraryClass() 121 ps.println(ClassUtil.externalClassName(programClass.getName()) + in visitProgramField() 123 ": " + ClassUtil.externalFullFieldDescription(0, name, type): in visitProgramField() 137 ps.print(ClassUtil.externalClassName(programClass.getName()) + in visitProgramMethod() 139 … ": " + ClassUtil.externalFullMethodDescription(programClass.getName(), 0, name, type): in visitProgramMethod() 155 ps.println(ClassUtil.externalClassName(libraryClass.getName()) + in visitLibraryField() 157 ": " + ClassUtil.externalFullFieldDescription(0, name, type): in visitLibraryField() 171 ps.println(ClassUtil.externalClassName(libraryClass.getName()) + in visitLibraryMethod() 173 … ": " + ClassUtil.externalFullMethodDescription(libraryClass.getName(), 0, name, type): in visitLibraryMethod()
|
D | UsagePrinter.java | 105 ps.println(ClassUtil.externalClassName(programClass.getName())); in visitProgramClass() 112 ps.println(ClassUtil.externalClassName(programClass.getName())); in visitProgramClass() 127 ClassUtil.externalFullFieldDescription( in visitProgramField() 143 ps.println(ClassUtil.externalFullMethodDescription( in visitProgramMethod() 180 ps.println(ClassUtil.externalClassName(className) + ":"); in printClassNameHeader()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/ |
D | AnnotatedCreatorCollector.java | 15 import com.fasterxml.jackson.databind.util.ClassUtil; 52 && !ClassUtil.isJDKClass(type.getRawClass()); in collectCreators() 101 ClassUtil.Ctor defaultCtor = null; in _findPotentialConstructors() 102 List<ClassUtil.Ctor> ctors = null; in _findPotentialConstructors() 110 ClassUtil.Ctor[] declaredCtors = ClassUtil.getConstructors(type.getRawClass()); in _findPotentialConstructors() 111 for (ClassUtil.Ctor ctor : declaredCtors) { in _findPotentialConstructors() 145 for (ClassUtil.Ctor mixinCtor : ClassUtil.getConstructors(primaryMixIn)) { in _findPotentialConstructors() 191 for (Method m : ClassUtil.getClassMethods(type.getRawClass())) { in _findPotentialFactories() 245 protected AnnotatedConstructor constructDefaultConstructor(ClassUtil.Ctor ctor, in constructDefaultConstructor() 246 ClassUtil.Ctor mixin) in constructDefaultConstructor() [all …]
|
D | AnnotatedClassResolver.java | 17 import com.fasterxml.jackson.databind.util.ClassUtil; 62 (!ClassUtil.isJDKClass(_class) || !_type.isContainerType()); in AnnotatedClassResolver() 247 ClassUtil.findClassAnnotations(_class)); in resolveClassAnnotations() 260 ClassUtil.findClassAnnotations(type.getRawClass())); in resolveClassAnnotations() 281 … annotations = _addAnnotationsIfNotPresent(annotations, ClassUtil.findClassAnnotations(mixin)); in _addClassMixIns() 288 for (Class<?> parent : ClassUtil.findSuperClasses(mixin, target, false)) { in _addClassMixIns() 289 … annotations = _addAnnotationsIfNotPresent(annotations, ClassUtil.findClassAnnotations(parent)); in _addClassMixIns() 315 for (Annotation ann : ClassUtil.findClassAnnotations(bundle.annotationType())) { in _addFromBundleIfNotPresent()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | DeserializationContext.java | 443 reportBadDefinition(ClassUtil.classOf(valueId), String.format( in findInjectableValue() 828 ClassUtil.exceptionMessage(e))); in parseDate() 874 ClassUtil.getClassDescription(scalarType), _shapeForToken(JsonToken.START_OBJECT))); in extractScalarFromObject() 906 "Could not find JsonDeserializer for type "+ClassUtil.getTypeDescription(type)); in readValue() 932 ClassUtil.getTypeDescription(type), ClassUtil.nameOf(prop))); in readPropertyValue() 1029 ClassUtil.getClassDescription(keyClass), in handleWeirdKey() 1030 ClassUtil.getClassDescription(key) in handleWeirdKey() 1075 ClassUtil.getClassDescription(targetClass), in handleWeirdStringValue() 1076 ClassUtil.getClassDescription(instance) in handleWeirdStringValue() 1120 ClassUtil.getClassDescription(targetClass), in handleWeirdNumberValue() [all …]
|
D | DatabindContext.java | 16 import com.fasterxml.jackson.databind.util.ClassUtil; 196 ClassUtil.exceptionMessage(e))); in resolveSubType() 234 ClassUtil.exceptionMessage(e))); in resolveAndValidateSubType() 282 …"Configured `PolymorphicTypeValidator` (of type "+ClassUtil.classNameOf(ptv)+") denied resolution"… in _throwSubtypeNameNotAllowed() 288 …"Configured `PolymorphicTypeValidator` (of type "+ClassUtil.classNameOf(ptv)+") denied resolution"… in _throwSubtypeClassNotAllowed() 322 gen = (ObjectIdGenerator<?>) ClassUtil.createInstance(implClass, in objectIdGeneratorInstance() 335 resolver = ClassUtil.createInstance(implClass, config.canOverrideAccessModifiers()); in objectIdResolverInstance() 364 if (converterClass == Converter.None.class || ClassUtil.isBogusClass(converterClass)) { in converterInstance() 375 conv = (Converter<?,?>) ClassUtil.createInstance(converterClass, in converterInstance()
|
/external/proguard/src/proguard/obfuscate/ |
D | MappingKeeper.java | 64 String name = ClassUtil.internalClassName(className); in processClassMapping() 69 String newName = ClassUtil.internalClassName(newClassName); in processClassMapping() 84 ClassUtil.externalClassName(currentNewName) + in processClassMapping() 109 String descriptor = ClassUtil.internalType(fieldType); in processFieldMapping() 122 warningPrinter.print(ClassUtil.internalClassName(className), in processFieldMapping() 149 String descriptor = ClassUtil.internalMethodDescriptor(methodReturnType, in processMethodMapping() 163 warningPrinter.print(ClassUtil.internalClassName(className), in processMethodMapping()
|
D | MappingPrinter.java | 75 ps.println(ClassUtil.externalClassName(name) + in visitProgramClass() 77 ClassUtil.externalClassName(newName) + in visitProgramClass() 94 ClassUtil.externalFullFieldDescription( in visitProgramField() 109 if (ClassUtil.isInitializer(name)) in visitProgramMethod() 119 ps.println(ClassUtil.externalFullMethodDescription( in visitProgramMethod()
|
D | MemberNameConflictFixer.java | 84 if (ClassUtil.isInitializer(name)) in visitProgramMethod() 139 "Warning: " + ClassUtil.externalClassName(clazz.getName()) + in visitMember() 141 … ": field '" + ClassUtil.externalFullFieldDescription(0, name, descriptor) : in visitMember() 142 … ": method '" + ClassUtil.externalFullMethodDescription(clazz.getName(), 0, name, descriptor)) + in visitMember()
|
/external/proguard/src/proguard/classfile/util/ |
D | ClassReferenceInitializer.java | 193 if (ClassUtil.isInternalArrayType(className)) in visitAnyRefConstant() 231 ClassUtil.externalClassName(clazz.getName()) + in visitAnyRefConstant() 234 … "field '" + ClassUtil.externalFullFieldDescription(0, name, type) : in visitAnyRefConstant() 235 … "method '" + ClassUtil.externalFullMethodDescription(className, 0, name, type)) + in visitAnyRefConstant() 241 ClassUtil.externalClassName(className)); in visitAnyRefConstant() 253 … findClass(className, ClassUtil.internalClassNameFromClassType(classConstant.getName(clazz))); in visitClassConstant() 306 … ClassUtil.externalClassName(className) + in visitEnclosingMethodAttribute() 308 … ClassUtil.externalFullMethodDescription(enclosingClassName, 0, name, type) + in visitEnclosingMethodAttribute() 310 … ClassUtil.externalClassName(enclosingClassName)); in visitEnclosingMethodAttribute() 538 if (ClassUtil.isInternalArrayType(name)) in findClass() [all …]
|
D | DynamicClassReferenceInitializer.java | 305 String internalClassName = ClassUtil.internalClassName( in visitStringConstant() 306 ClassUtil.externalBaseType(externalClassName)); in visitStringConstant() 324 ClassUtil.externalClassName(clazz.getName()) + in visitClassConstant() 326 ClassUtil.externalClassName(classConstant.getName(clazz)) + in visitClassConstant() 440 if (ClassUtil.isInternalArrayType(name)) in findClass() 443 if (!ClassUtil.isInternalClassType(name)) in findClass() 449 name = ClassUtil.internalClassNameFromClassType(name); in findClass() 467 ClassUtil.externalClassName(referencingClassName) + in findClass() 469 ClassUtil.externalClassName(name)); in findClass() 479 ClassUtil.externalClassName(referencingClassName) + in findClass() [all …]
|
D | DynamicMemberReferenceInitializer.java | 720 ClassUtil.internalTypeFromClassName(clazz.getClassName(typeClassIndex)); in initializeStringReference() 741 referencedClass = ClassUtil.isInternalArrayType(classConstant.getName(clazz)) ? in visitClassConstant() 827 externalMemberDescription += ClassUtil.isInternalArrayType(className) ? in printDynamicInvocationNote() 828 ClassUtil.externalType(className) : in printDynamicInvocationNote() 829 ClassUtil.externalClassName(className); in printDynamicInvocationNote() 838 ClassUtil.externalClassName(clazz.getName()) + in printDynamicInvocationNote() 870 methodDescriptor += ClassUtil.isInternalArrayType(className) ? in printDynamicInvocationNote() 872 ClassUtil.internalTypeFromClassName(className); in printDynamicInvocationNote() 897 ClassUtil.externalFullClassDescription(0, programClass.getName()) + in visitProgramField() 899 …ClassUtil.externalFullFieldDescription(0, programField.getName(programClass), programField.getDesc… in visitProgramField() [all …]
|
D | ClassSuperHierarchyInitializer.java | 144 ClassUtil.externalClassName(referencingClassName) + in findClass() 146 ClassUtil.externalClassName(name)); in findClass() 156 ClassUtil.externalClassName(referencingClassName) + in findClass() 158 ClassUtil.externalClassName(name)); in findClass()
|
/external/proguard/src/proguard/ |
D | ConfigurationWriter.java | 24 import proguard.classfile.util.ClassUtil; 118 …nfigurationConstants.TARGET_OPTION, ClassUtil.externalClassVer… in write() 307 arguments = ClassUtil.externalClassName(arguments); in writeOption() 413 writer.print(ClassUtil.externalType(classSpecification.annotationType)); in writeOption() 418 writer.print(ClassUtil.externalClassAccessFlags(classSpecification.requiredUnsetAccessFlags, in writeOption() 421 writer.print(ClassUtil.externalClassAccessFlags(classSpecification.requiredSetAccessFlags)); in writeOption() 437 ClassUtil.externalClassName(classSpecification.className) : in writeOption() 452 writer.print(ClassUtil.externalType(classSpecification.extendsAnnotationType)); in writeOption() 458 ClassUtil.externalClassName(classSpecification.extendsClassName) : in writeOption() 525 writer.println(ClassUtil.externalType(memberSpecification.annotationType)); in writeFieldSpecification() [all …]
|
D | ClassMemberChecker.java | 113 … ClassUtil.externalFullFieldDescription(0, memberName, descriptor) + "' in class '" + in checkMemberSpecifications() 114 ClassUtil.externalClassName(className) + "'"); in checkMemberSpecifications() 123 … ClassUtil.externalFullMethodDescription(className, 0, memberName, descriptor) + "' in class '" + in checkMemberSpecifications() 124 ClassUtil.externalClassName(className) + "'"); in checkMemberSpecifications() 149 …ClassUtil.externalFullFieldDescription(0, programField.getName(programClass), programField.getDesc… in visitProgramField() 156 …ClassUtil.externalFullMethodDescription(programClass.getName(), 0, programMethod.getName(programCl… in visitProgramMethod()
|
D | DescriptorKeepChecker.java | 125 if (ClassUtil.isInternalClassType(programMethod.getDescriptor(programClass))) in visitProgramMethod() 150 ClassUtil.externalClassName(referencingClass.getName()) + in visitProgramClass() 153 ClassUtil.externalFullFieldDescription(0, in visitProgramClass() 156 … ClassUtil.externalFullMethodDescription(referencingClass.getName(), in visitProgramClass() 161 ClassUtil.externalClassName(programClass.getName()) + in visitProgramClass()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/ |
D | ClassNameIdResolver.java | 11 import com.fasterxml.jackson.databind.util.ClassUtil; 92 if (ClassUtil.isEnumType(cls)) { in _idFrom() 111 Class<?> enumClass = ClassUtil.findEnumType((EnumSet<?>) value); in _idFrom() 115 Class<?> enumClass = ClassUtil.findEnumType((EnumMap<?,?>) value); in _idFrom() 130 Class<?> outer = ClassUtil.getOuterClass(cls); in _idFrom() 135 if (ClassUtil.getOuterClass(staticType) == null) { in _idFrom()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/ |
D | SettableAnyProperty.java | 13 import com.fasterxml.jackson.databind.util.ClassUtil; 197 String actType = ClassUtil.classNameOf(value); in _throwAsIOE() 201 String origMsg = ClassUtil.exceptionMessage(e); in _throwAsIOE() 209 ClassUtil.throwIfIOE(e); in _throwAsIOE() 210 ClassUtil.throwIfRTE(e); in _throwAsIOE() 212 Throwable t = ClassUtil.getRootCause(e); in _throwAsIOE() 213 throw new JsonMappingException(null, ClassUtil.exceptionMessage(t), t); in _throwAsIOE()
|
/external/proguard/src/proguard/classfile/instruction/ |
D | ConstantInstruction.java | 28 import proguard.classfile.util.ClassUtil; 236 typeStackDelta = ClassUtil.internalTypeSize(ClassUtil.internalMethodReturnType(type)); in visitFieldrefConstant() 262 parameterStackDelta = ClassUtil.internalMethodParameterSize(type); in visitNameAndTypeConstant() 263 typeStackDelta = ClassUtil.internalTypeSize(ClassUtil.internalMethodReturnType(type)); in visitNameAndTypeConstant()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/ |
D | StdKeyDeserializers.java | 9 import com.fasterxml.jackson.databind.util.ClassUtil; 57 …ClassUtil.checkAndFixAccess(ctor, config.isEnabled(MapperFeature.OVERRIDE_PUBLIC_ACCESS_MODIFIERS)… in findStringBasedKeyDeserializer() 66 … ClassUtil.checkAndFixAccess(m, config.isEnabled(MapperFeature.OVERRIDE_PUBLIC_ACCESS_MODIFIERS)); in findStringBasedKeyDeserializer() 87 raw = ClassUtil.wrapperType(raw); in findKeyDeserializer()
|
D | FactoryBasedEnumDeserializer.java | 18 import com.fasterxml.jackson.databind.util.ClassUtil; 131 ClassUtil.getTypeDescription(targetType), _factory, p.currentToken()); in deserialize() 155 Throwable t = ClassUtil.throwRootCauseIfIOE(e); in deserialize() 162 Throwable t = ClassUtil.throwRootCauseIfIOE(e); in deserialize() 223 t = ClassUtil.getRootCause(t); in throwOrReturnThrowable() 225 ClassUtil.throwIfError(t); in throwOrReturnThrowable() 233 ClassUtil.throwIfRTE(t); in throwOrReturnThrowable()
|
/external/proguard/src/proguard/evaluation/ |
D | BasicInvocationUnit.java | 74 int parameterSize = ClassUtil.internalMethodParameterSize(descriptor, isStatic); in enterMethod() 93 … ClassUtil.internalTypeFromClassName(clazz.getName()), in enterMethod() 109 ClassUtil.isInternalClassType(type) ? in enterMethod() 214 int parameterCount = ClassUtil.internalMethodParameterCount(type); in visitAnyMethodrefConstant() 227 String returnType = ClassUtil.internalMethodReturnType(type); in visitAnyMethodrefConstant() 239 int parameterCount = ClassUtil.internalMethodParameterCount(type); in visitInvokeDynamicConstant() 252 String returnType = ClassUtil.internalMethodReturnType(type); in visitInvokeDynamicConstant()
|