proguard.ant
Class ClassSpecificationElement

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.types.DataType
          extended by 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.


Field Summary
 
Fields inherited from class org.apache.tools.ant.types.DataType
checked, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
ClassSpecificationElement()
           
 
Method Summary
 void addConfiguredConstructor(MemberSpecificationElement memberSpecificationElement)
           
 void addConfiguredField(MemberSpecificationElement memberSpecificationElement)
           
 void addConfiguredMethod(MemberSpecificationElement memberSpecificationElement)
           
 void appendTo(java.util.List classSpecifications)
          Adds the contents of this class specification element to the given list.
protected  ClassSpecification createClassSpecification(ClassSpecificationElement classSpecificationElement)
          Creates a new class specification corresponding to the contents of this class specification element.
 void setAccess(java.lang.String access)
           
 void setAnnotation(java.lang.String annotation)
           
 void setExtends(java.lang.String extends_)
           
 void setExtendsannotation(java.lang.String extendsAnnotation)
           
 void setImplements(java.lang.String implements_)
           
 void setName(java.lang.String name)
           
 void setType(java.lang.String type)
           
 
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
 

Constructor Detail

ClassSpecificationElement

public ClassSpecificationElement()
Method Detail

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)