proguard.ant
Class ClassSpecificationElement
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
proguard.ant.ClassSpecificationElement
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- KeepSpecificationElement
public class ClassSpecificationElement
- extends org.apache.tools.ant.types.DataType
This DataType represents a class specification in Ant.
| Fields inherited from class org.apache.tools.ant.types.DataType |
checked, ref |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
| Methods inherited from class org.apache.tools.ant.types.DataType |
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, tooManyAttributes, toString |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ClassSpecificationElement
public ClassSpecificationElement()
appendTo
public void appendTo(java.util.List classSpecifications)
- Adds the contents of this class specification element to the given list.
- Parameters:
classSpecifications - the class specifications to be extended.
createClassSpecification
protected 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)