proguard.optimize.info.ClassOptimizationInfo Java Examples
The following examples show how to use
proguard.optimize.info.ClassOptimizationInfo.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ClassMerger.java From java-n-IDE-for-Android with Apache License 2.0 | 6 votes |
public static Clazz getTargetClass(Clazz clazz) { Clazz targetClass = null; // Return the last target class, if any. while (true) { ClassOptimizationInfo info = ClassOptimizationInfo.getClassOptimizationInfo(clazz); if (info == null) { return targetClass; } clazz = info.getTargetClass(); if (clazz == null) { return targetClass; } targetClass = clazz; } }
Example #2
Source File: ClassMerger.java From java-n-IDE-for-Android with Apache License 2.0 | 5 votes |
public static void setTargetClass(Clazz clazz, Clazz targetClass) { ClassOptimizationInfo info = ClassOptimizationInfo.getClassOptimizationInfo(clazz); if (info != null) { info.setTargetClass(targetClass); } }
Example #3
Source File: OptimizationInfoClassFilter.java From proguard with GNU General Public License v2.0 | 5 votes |
public void visitProgramClass(ProgramClass programClass) { // Does the class have optimization info? if (ClassOptimizationInfo.getClassOptimizationInfo(programClass) != null) { classVisitor.visitProgramClass(programClass); } }
Example #4
Source File: OptimizationInfoClassFilter.java From proguard with GNU General Public License v2.0 | 5 votes |
public void visitLibraryClass(LibraryClass libraryClass) { // Does the class have optimization info? if (ClassOptimizationInfo.getClassOptimizationInfo(libraryClass) != null) { classVisitor.visitLibraryClass(libraryClass); } }
Example #5
Source File: OptimizationInfoClassFilter.java From bazel with Apache License 2.0 | 5 votes |
public void visitProgramClass(ProgramClass programClass) { // Does the class have optimization info? if (ClassOptimizationInfo.getClassOptimizationInfo(programClass) != null) { classVisitor.visitProgramClass(programClass); } }
Example #6
Source File: OptimizationInfoClassFilter.java From bazel with Apache License 2.0 | 5 votes |
public void visitLibraryClass(LibraryClass libraryClass) { // Does the class have optimization info? if (ClassOptimizationInfo.getClassOptimizationInfo(libraryClass) != null) { classVisitor.visitLibraryClass(libraryClass); } }