Home
last modified time | relevance | path

Searched refs:ClassUtil (Results 1 – 25 of 64) sorted by relevance

123

/external/proguard/src/proguard/evaluation/value/
DReferenceValue.java24 import proguard.classfile.util.ClassUtil;
104 int thisDimensionCount = ClassUtil.internalArrayTypeDimensionCount(thisType); in instanceOf()
105 int otherDimensionCount = ClassUtil.internalArrayTypeDimensionCount(otherType); in instanceOf()
114 (ClassUtil.isInternalPrimitiveType(thisType.charAt(0)) || in instanceOf()
115 ClassUtil.isInternalPrimitiveType(otherType.charAt(0)))) in instanceOf()
125 thisType = ClassUtil.internalClassNameFromClassType(thisType); in instanceOf()
131 otherType = ClassUtil.internalClassNameFromClassType(otherType); in instanceOf()
138 !ClassUtil.isInternalArrayInterfaceName(otherType)) in instanceOf()
147 !ClassUtil.isInternalArrayInterfaceName(thisType)) in instanceOf()
204 … !ClassUtil.isInternalArrayType(type) ? ValueFactory.REFERENCE_VALUE_JAVA_LANG_OBJECT_MAYBE_NULL : in arrayLoad()
[all …]
DValueFactory.java24 import proguard.classfile.util.ClassUtil;
62 …default: return createReferenceValue(ClassUtil.isInternalArrayTy… in createValue()
64ClassUtil.internalClassNameFromClassType(type), in createValue()
/external/proguard/src/proguard/classfile/visitor/
DSimpleClassPrinter.java24 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 …]
DClassPrinter.java96 …println("Major version: 0x" + Integer.toHexString(ClassUtil.internalMajorClassVersion(programClass… in visitProgramClass()
97 …println("Minor version: 0x" + Integer.toHexString(ClassUtil.internalMinorClassVersion(programClass… in visitProgramClass()
101 ClassUtil.externalClassAccessFlags(programClass.u2accessFlags) + in visitProgramClass()
105 ClassUtil.externalClassName(programClass.getName()) + in visitProgramClass()
107 ClassUtil.externalClassName(programClass.getSuperName()))); in visitProgramClass()
153 ClassUtil.externalClassAccessFlags(libraryClass.u2accessFlags) + in visitLibraryClass()
157 ClassUtil.externalClassName(libraryClass.getName()) + in visitLibraryClass()
159 ClassUtil.externalClassName(libraryClass.getSuperName()))); in visitLibraryClass()
279 ClassUtil.externalFullFieldDescription(programField.u2accessFlags, in visitProgramField()
298 ClassUtil.externalFullMethodDescription(programClass.getName(), in visitProgramMethod()
[all …]
/external/proguard/src/proguard/shrink/
DShortestUsagePrinter.java24 import proguard.classfile.util.ClassUtil;
92 ps.println(ClassUtil.externalClassName(programClass.getName())); in visitProgramClass()
102 ps.println(ClassUtil.externalClassName(libraryClass.getName())); in visitLibraryClass()
117 ps.println(ClassUtil.externalClassName(programClass.getName()) + in visitProgramField()
119 ": " + ClassUtil.externalFullFieldDescription(0, name, type): in visitProgramField()
134 ps.println(ClassUtil.externalClassName(programClass.getName()) + in visitProgramMethod()
136 … ": " + ClassUtil.externalFullMethodDescription(programClass.getName(), 0, name, type): in visitProgramMethod()
151 ps.println(ClassUtil.externalClassName(libraryClass.getName()) + in visitLibraryField()
153 ": " + ClassUtil.externalFullFieldDescription(0, name, type): in visitLibraryField()
167 ps.println(ClassUtil.externalClassName(libraryClass.getName()) + in visitLibraryMethod()
[all …]
DUsagePrinter.java102 ps.println(ClassUtil.externalClassName(programClass.getName())); in visitProgramClass()
109 ps.println(ClassUtil.externalClassName(programClass.getName())); in visitProgramClass()
125 ClassUtil.externalFullFieldDescription( in visitProgramField()
141 ClassUtil.externalFullMethodDescription( in visitProgramMethod()
160 ps.println(ClassUtil.externalClassName(className) + ":"); in printClassNameHeader()
/external/proguard/src/proguard/classfile/util/
DClassReferenceInitializer.java179 !ClassUtil.isInternalArrayType(className)) in visitAnyRefConstant()
201 ClassUtil.externalClassName(clazz.getName()) + in visitAnyRefConstant()
204 … "field '" + ClassUtil.externalFullFieldDescription(0, name, type) : in visitAnyRefConstant()
205 … "method '" + ClassUtil.externalFullMethodDescription(className, 0, name, type)) + in visitAnyRefConstant()
207 ClassUtil.externalClassName(className)); in visitAnyRefConstant()
246 ClassUtil.externalClassName(className) + in visitEnclosingMethodAttribute()
248 ClassUtil.externalClassName(enclosingClassName)); in visitEnclosingMethodAttribute()
270 ClassUtil.externalClassName(className) + in visitEnclosingMethodAttribute()
272ClassUtil.externalFullMethodDescription(enclosingClassName, 0, name, type) + in visitEnclosingMethodAttribute()
274 ClassUtil.externalClassName(enclosingClassName)); in visitEnclosingMethodAttribute()
[all …]
DDynamicMemberReferenceInitializer.java413 referencedClass = ClassUtil.isInternalArrayType(classConstant.getName(clazz)) ? in visitClassConstant()
490 externalMemberDescription += ClassUtil.isInternalArrayType(className) ? in printDynamicInvocationNote()
491 ClassUtil.externalType(className) : in printDynamicInvocationNote()
492 ClassUtil.externalClassName(className); in printDynamicInvocationNote()
501 ClassUtil.externalClassName(clazz.getName()) + in printDynamicInvocationNote()
532 methodDescriptor += ClassUtil.isInternalArrayType(className) ? in printDynamicInvocationNote()
534 ClassUtil.internalTypeFromClassName(className); in printDynamicInvocationNote()
559 ClassUtil.externalFullClassDescription(0, programClass.getName()) + in visitProgramField()
561ClassUtil.externalFullFieldDescription(0, programField.getName(programClass), programField.getDesc… in visitProgramField()
572 ClassUtil.externalFullClassDescription(0, programClass.getName()) + in visitProgramMethod()
[all …]
DDynamicClassReferenceInitializer.java304 String internalClassName = ClassUtil.internalClassName(externalClassName); in visitStringConstant()
322 ClassUtil.externalClassName(clazz.getName()) + in visitClassConstant()
324 ClassUtil.externalClassName(classConstant.getName(clazz)) + in visitClassConstant()
438 if (ClassUtil.isInternalArrayType(name) && in findClass()
439 !ClassUtil.isInternalClassType(name)) in findClass()
459 ClassUtil.externalClassName(referencingClassName) + in findClass()
461 ClassUtil.externalClassName(name)); in findClass()
471 ClassUtil.externalClassName(referencingClassName) + in findClass()
473 ClassUtil.externalClassName(name)); in findClass()
DClassSuperHierarchyInitializer.java149 ClassUtil.externalClassName(referencingClassName) + in findClass()
151 ClassUtil.externalClassName(name)); in findClass()
161 ClassUtil.externalClassName(referencingClassName) + in findClass()
163 ClassUtil.externalClassName(name)); in findClass()
/external/proguard/src/proguard/
DConfigurationWriter.java24 import proguard.classfile.util.ClassUtil;
111 …nfigurationConstants.TARGET_OPTION, ClassUtil.externalClassVer… in write()
280 argumentString = ClassUtil.externalClassName(argumentString); in writeOption()
305 arguments = ClassUtil.externalClassName(arguments); in writeOption()
405 writer.print(ClassUtil.externalType(classSpecification.annotationType)); in writeOption()
410 writer.print(ClassUtil.externalClassAccessFlags(classSpecification.requiredUnsetAccessFlags, in writeOption()
413 writer.print(ClassUtil.externalClassAccessFlags(classSpecification.requiredSetAccessFlags)); in writeOption()
429 ClassUtil.externalClassName(classSpecification.className) : in writeOption()
444 writer.print(ClassUtil.externalType(classSpecification.extendsAnnotationType)); in writeOption()
450 ClassUtil.externalClassName(classSpecification.extendsClassName) : in writeOption()
[all …]
DDescriptorKeepChecker.java145 ClassUtil.externalClassName(referencingClass.getName()) + in visitProgramClass()
148 ClassUtil.externalFullFieldDescription(0, in visitProgramClass()
151ClassUtil.externalFullMethodDescription(referencingClass.getName(), in visitProgramClass()
156 ClassUtil.externalClassName(programClass.getName()) + in visitProgramClass()
DTargeter.java24 import proguard.classfile.util.ClassUtil;
69 System.err.print(ClassUtil.externalClassVersion(classVersion.intValue())); in execute()
78 …System.err.println(" than the target version ("+ClassUtil.externalClassVersion(configurati… in execute()
DConfigurationParser.java24 import proguard.classfile.util.ClassUtil;
150 ….startsWith(nextWord)) configuration.flattenPackageHierarchy = ClassUtil.internalClassNam… in parse()
151 ….startsWith(nextWord)) configuration.repackageClasses = ClassUtil.internalClassNam… in parse()
152 ….startsWith(nextWord)) configuration.repackageClasses = ClassUtil.internalClassNam… in parse()
308 int classVersion = ClassUtil.internalClassVersion(nextWord); in parseClassVersion()
603 ClassUtil.internalClassName(externalClassName); in parseClassSpecificationArguments()
633 ClassUtil.internalClassName(externalExtendsClassName); in parseClassSpecificationArguments()
828 type.equals(ClassUtil.externalShortClassName(externalClassName)))) in parseMemberSpecificationArguments()
859 String descriptor = ClassUtil.internalType(type); in parseMemberSpecificationArguments()
877 ClassUtil.internalMethodDescriptor(type, in parseMemberSpecificationArguments()
[all …]
/external/proguard/src/proguard/obfuscate/
DMappingKeeper.java64 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()
DMappingPrinter.java72 ps.println(ClassUtil.externalClassName(name) + in visitProgramClass()
74 ClassUtil.externalClassName(newName) + in visitProgramClass()
97 ClassUtil.externalFullFieldDescription( in visitProgramField()
123 ClassUtil.externalFullMethodDescription( in visitProgramMethod()
DClassObfuscator.java155 newPackagePrefix(ClassUtil.internalPackagePrefix(programClass.getName())); in visitProgramClass()
297 String packagePrefix = ClassUtil.internalPackagePrefix(className); in mapPackageName()
298 String newPackagePrefix = ClassUtil.internalPackagePrefix(newClassName); in mapPackageName()
311 packagePrefix = ClassUtil.internalPackagePrefix(packagePrefix); in mapPackageName()
312 newPackagePrefix = ClassUtil.internalPackagePrefix(newPackagePrefix); in mapPackageName()
350 newPackagePrefix(ClassUtil.internalPackagePrefix(packagePrefix)); in newPackagePrefix()
DMemberNameConflictFixer.java140 "Warning: " + ClassUtil.externalClassName(clazz.getName()) + in visitMember()
142 … ": field '" + ClassUtil.externalFullFieldDescription(0, name, descriptor) : in visitMember()
143 … ": method '" + ClassUtil.externalFullMethodDescription(clazz.getName(), 0, name, descriptor)) + in visitMember()
/external/proguard/src/proguard/classfile/instruction/
DConstantInstruction.java28 import proguard.classfile.util.ClassUtil;
237 typeStackDelta = ClassUtil.internalTypeSize(ClassUtil.internalMethodReturnType(type)); in visitFieldrefConstant()
257 parameterStackDelta = ClassUtil.internalMethodParameterSize(type); in visitRefConstant()
258 typeStackDelta = ClassUtil.internalTypeSize(ClassUtil.internalMethodReturnType(type)); in visitRefConstant()
/external/proguard/src/proguard/ant/
DProGuardTask.java25 import proguard.classfile.util.ClassUtil;
88 configuration.targetClassVersion = ClassUtil.internalClassVersion(target); in setTarget()
200 … configuration.flattenPackageHierarchy = ClassUtil.internalClassName(flattenPackageHierarchy); in setFlattenpackagehierarchy()
206 configuration.repackageClasses = ClassUtil.internalClassName(repackageClasses); in setRepackageclasses()
214 configuration.repackageClasses = ClassUtil.internalClassName(defaultPackage); in setDefaultpackage()
DClassSpecificationElement.java27 import proguard.classfile.util.ClassUtil;
95 … annotation != null ? ClassUtil.internalType(annotation) : null, in createClassSpecification()
96 … name != null ? ClassUtil.internalClassName(name) : null, in createClassSpecification()
97 … extendsAnnotation != null ? ClassUtil.internalType(extendsAnnotation) : null, in createClassSpecification()
98 … extends_ != null ? ClassUtil.internalClassName(extends_) : null); in createClassSpecification()
DMemberSpecificationElement.java27 import proguard.classfile.util.ClassUtil;
76 annotation = ClassUtil.internalType(annotation); in appendTo()
111 parameters != null ? ClassUtil.internalMethodDescriptor(type, parameterList) : in appendTo()
112 type != null ? ClassUtil.internalType(type) : in appendTo()
/external/proguard/src/proguard/evaluation/
DBasicInvocationUnit.java74 int parameterSize = ClassUtil.internalMethodParameterSize(descriptor, isStatic); in enterMethod()
93ClassUtil.internalTypeFromClassName(clazz.getName()), in enterMethod()
109 ClassUtil.isInternalClassType(type) ? in enterMethod()
213 int parameterCount = ClassUtil.internalMethodParameterCount(type); in visitAnyMethodrefConstant()
226 String returnType = ClassUtil.internalMethodReturnType(type); in visitAnyMethodrefConstant()
/external/proguard/src/proguard/gui/
DClassSpecificationDialog.java25 import proguard.classfile.util.ClassUtil;
401 …annotationTypeTextField .setText(annotationType == null ? "" : ClassUtil.externalTyp… in setClassSpecification()
402 …classNameTextField .setText(className == null ? "*" : ClassUtil.externalCla… in setClassSpecification()
403 …extendsAnnotationTypeTextField.setText(extendsAnnotationType == null ? "" : ClassUtil.externalTyp… in setClassSpecification()
404 …extendsClassNameTextField .setText(extendsClassName == null ? "" : ClassUtil.externalCla… in setClassSpecification()
446 … annotationType.equals("") ? null : ClassUtil.internalType(annotationType), in getClassSpecification()
448 … className.equals("*") ? null : ClassUtil.internalClassName(className), in getClassSpecification()
449 … extendsAnnotationType.equals("") ? null : ClassUtil.internalType(extendsAnnotationType), in getClassSpecification()
450 … extendsClassName.equals("") ? null : ClassUtil.internalClassName(extendsClassName)); in getClassSpecification()
DMemberSpecificationDialog.java25 import proguard.classfile.util.ClassUtil;
327 …annotationTypeTextField.setText(annotationType == null ? "" : ClassUtil.externalType(annotationTyp… in setMemberSpecification()
347 … typeTextField .setText(descriptor == null ? "***" : ClassUtil.externalType(descriptor)); in setMemberSpecification()
351 …typeTextField .setText(descriptor == null ? "***" : ClassUtil.externalMethodReturnType(des… in setMemberSpecification()
352 …argumentTypesTextField.setText(descriptor == null ? "..." : ClassUtil.externalMethodArguments(desc… in setMemberSpecification()
370 annotationType.equals("***") ? null : ClassUtil.internalType(annotationType); in getMemberSpecification()
382 type.equals("***") ? null : ClassUtil.internalType(type); in getMemberSpecification()
394ClassUtil.internalMethodDescriptor(type, ListUtil.commaSeparatedList(arguments)); in getMemberSpecification()

123