程序包 proguard.ant

类 KeepSpecificationElement

  • 所有已实现的接口:
    java.lang.Cloneable

    public class KeepSpecificationElement
    extends ClassSpecificationElement
    This DataType represents a class specification in Ant.
    • 字段概要

      • 从类继承的字段 org.apache.tools.ant.types.DataType

        checked, ref
      • 从类继承的字段 org.apache.tools.ant.ProjectComponent

        description, location, project
    • 构造器详细资料

      • KeepSpecificationElement

        public KeepSpecificationElement()
    • 方法详细资料

      • appendTo

        public void appendTo​(java.util.List keepSpecifications,
                             boolean markClasses,
                             boolean markClassMembers,
                             boolean markConditionally)
        Adds the contents of this class specification element to the given list.
        参数:
        keepSpecifications - the class specifications to be extended.
        markClasses - specifies whether to mark the classes.
        markConditionally - specifies whether to mark the classes and class members conditionally.
      • setIncludedescriptorclasses

        public void setIncludedescriptorclasses​(boolean markDescriptorClasses)
      • setIncludecode

        public void setIncludecode​(boolean markCodeAttributes)
      • setAllowshrinking

        public void setAllowshrinking​(boolean allowShrinking)
      • setAllowoptimization

        public void setAllowoptimization​(boolean allowOptimization)
      • setAllowobfuscation

        public void setAllowobfuscation​(boolean allowObfuscation)