程序包 proguard.ant
类 ClassSpecificationElement
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.types.DataType
-
- proguard.ant.ClassSpecificationElement
-
- 所有已实现的接口:
java.lang.Cloneable
- 直接已知子类:
KeepSpecificationElement
public class ClassSpecificationElement extends org.apache.tools.ant.types.DataTypeThis DataType represents a class specification in Ant.
-
-
构造器概要
构造器 构造器 说明 ClassSpecificationElement()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddConfiguredConstructor(MemberSpecificationElement memberSpecificationElement)voidaddConfiguredField(MemberSpecificationElement memberSpecificationElement)voidaddConfiguredMethod(MemberSpecificationElement memberSpecificationElement)voidappendTo(java.util.List classSpecifications)Adds the contents of this class specification element to the given list.protected proguard.ClassSpecificationcreateClassSpecification(ClassSpecificationElement classSpecificationElement)Creates a new class specification corresponding to the contents of this class specification element.voidsetAccess(java.lang.String access)voidsetAnnotation(java.lang.String annotation)voidsetExtends(java.lang.String extends_)voidsetExtendsannotation(java.lang.String extendsAnnotation)voidsetImplements(java.lang.String implements_)voidsetName(java.lang.String name)voidsetType(java.lang.String type)-
从类继承的方法 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 classSpecifications)
Adds the contents of this class specification element to the given list.- 参数:
classSpecifications- the class specifications to be extended.
-
createClassSpecification
protected proguard.ClassSpecification createClassSpecification(ClassSpecificationElement classSpecificationElement)
Creates a new class specification corresponding to the contents of this class specification element.
-
setAccess
public void setAccess(java.lang.String access)
-
setAnnotation
public void setAnnotation(java.lang.String annotation)
-
setType
public void setType(java.lang.String type)
-
setName
public void setName(java.lang.String name)
-
setExtendsannotation
public void setExtendsannotation(java.lang.String extendsAnnotation)
-
setExtends
public void setExtends(java.lang.String extends_)
-
setImplements
public void setImplements(java.lang.String implements_)
-
addConfiguredField
public void addConfiguredField(MemberSpecificationElement memberSpecificationElement)
-
addConfiguredMethod
public void addConfiguredMethod(MemberSpecificationElement memberSpecificationElement)
-
addConfiguredConstructor
public void addConfiguredConstructor(MemberSpecificationElement memberSpecificationElement)
-
-