程序包 proguard.ant
类 KeepSpecificationElement
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.types.DataType
-
- proguard.ant.ClassSpecificationElement
-
- proguard.ant.KeepSpecificationElement
-
- 所有已实现的接口:
java.lang.Cloneable
public class KeepSpecificationElement extends ClassSpecificationElement
This DataType represents a class specification in Ant.
-
-
构造器概要
构造器 构造器 说明 KeepSpecificationElement()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidappendTo(java.util.List keepSpecifications, boolean markClasses, boolean markClassMembers, boolean markConditionally)Adds the contents of this class specification element to the given list.voidsetAllowobfuscation(boolean allowObfuscation)voidsetAllowoptimization(boolean allowOptimization)voidsetAllowshrinking(boolean allowShrinking)voidsetIncludecode(boolean markCodeAttributes)voidsetIncludedescriptorclasses(boolean markDescriptorClasses)-
从类继承的方法 proguard.ant.ClassSpecificationElement
addConfiguredConstructor, addConfiguredField, addConfiguredMethod, appendTo, createClassSpecification, setAccess, setAnnotation, setExtends, setExtendsannotation, setImplements, setName, setType
-
从类继承的方法 org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
-
-
-
-
方法详细资料
-
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)
-
-