程序包 proguard.util

类 ClassPoolFeatureNameFunction

  • 所有已实现的接口:
    StringFunction

    public class ClassPoolFeatureNameFunction
    extends java.lang.Object
    implements StringFunction
    This StringFunction transforms class names to feature names, based on a given class pool.
    • 构造器概要

      构造器 
      构造器 说明
      ClassPoolFeatureNameFunction​(ClassPool classPool)
      Creates a new ClassPoolNameFunction based on the given class pool.
      ClassPoolFeatureNameFunction​(ClassPool classPool, java.lang.String defaultFeatureName)
      Creates a new ClassPoolNameFunction based on the given class pool, with a default string for classes that are not in the class pool.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.String transform​(java.lang.String string)
      Transforms the given string into a new string.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • ClassPoolFeatureNameFunction

        public ClassPoolFeatureNameFunction​(ClassPool classPool)
        Creates a new ClassPoolNameFunction based on the given class pool.
      • ClassPoolFeatureNameFunction

        public ClassPoolFeatureNameFunction​(ClassPool classPool,
                                            java.lang.String defaultFeatureName)
        Creates a new ClassPoolNameFunction based on the given class pool, with a default string for classes that are not in the class pool.
    • 方法详细资料

      • transform

        public java.lang.String transform​(java.lang.String string)
        从接口复制的说明: StringFunction
        Transforms the given string into a new string.
        指定者:
        transform 在接口中 StringFunction