Java Code Examples for proguard.classfile.Clazz#getVisitorInfo()
The following examples show how to use
proguard.classfile.Clazz#getVisitorInfo() .
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: ClassOptimizationInfo.java From java-n-IDE-for-Android with Apache License 2.0 | 5 votes |
public static ClassOptimizationInfo getClassOptimizationInfo(Clazz clazz) { Object visitorInfo = clazz.getVisitorInfo(); return visitorInfo instanceof ClassOptimizationInfo ? (ClassOptimizationInfo)visitorInfo : null; }
Example 2
Source File: ClassObfuscator.java From java-n-IDE-for-Android with Apache License 2.0 | 5 votes |
/** * Retrieves the new name of the given class. * @param clazz the given class. * @return the class's new name, or <code>null</code> if it doesn't * have one yet. */ static String newClassName(Clazz clazz) { Object visitorInfo = clazz.getVisitorInfo(); return visitorInfo instanceof String ? (String)visitorInfo : null; }
Example 3
Source File: ClassOptimizationInfo.java From proguard with GNU General Public License v2.0 | 5 votes |
public static ClassOptimizationInfo getClassOptimizationInfo(Clazz clazz) { Object visitorInfo = clazz.getVisitorInfo(); return visitorInfo instanceof ClassOptimizationInfo ? (ClassOptimizationInfo)visitorInfo : null; }
Example 4
Source File: ClassOptimizationInfo.java From bazel with Apache License 2.0 | 5 votes |
public static ClassOptimizationInfo getClassOptimizationInfo(Clazz clazz) { Object visitorInfo = clazz.getVisitorInfo(); return visitorInfo instanceof ClassOptimizationInfo ? (ClassOptimizationInfo)visitorInfo : null; }