ProGuard

proguard.ant
Class ClassSpecificationElement

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.types.DataType
          extended byproguard.ant.ClassSpecificationElement

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, description, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
ClassSpecificationElement()
           
 
Method Summary
 void addConfiguredConstructor(ClassMemberSpecificationElement classMemberSpecificationElement)
           
 void addConfiguredField(ClassMemberSpecificationElement classMemberSpecificationElement)
           
 void addConfiguredMethod(ClassMemberSpecificationElement classMemberSpecificationElement)
           
 void appendTo(List classSpecifications, boolean markClassFiles, boolean markConditionally)
          Adds the contents of this class specification element to the given list.
 void setAccess(String access)
           
 void setExtends(String extends_)
           
 void setImplements(String implements_)
           
 void setName(String name)
           
 void setType(String type)
           
 
Methods inherited from class org.apache.tools.ant.types.DataType
circularReference, dieOnCircularReference, getCheckedRef, getDescription, isReference, noChildrenAllowed, setDescription, setRefid, tooManyAttributes
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, log, log, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassSpecificationElement

public ClassSpecificationElement()
Method Detail

appendTo

public void appendTo(List classSpecifications,
                     boolean markClassFiles,
                     boolean markConditionally)
Adds the contents of this class specification element to the given list.

Parameters:
classSpecifications - the class specifications to be extended.
markClassFiles - specifies whether to mark the class files.
markConditionally - specifies whether to mark the class files and class members conditionally.

setAccess

public void setAccess(String access)

setType

public void setType(String type)

setName

public void setName(String name)

setExtends

public void setExtends(String extends_)

setImplements

public void setImplements(String implements_)

addConfiguredField

public void addConfiguredField(ClassMemberSpecificationElement classMemberSpecificationElement)

addConfiguredMethod

public void addConfiguredMethod(ClassMemberSpecificationElement classMemberSpecificationElement)

addConfiguredConstructor

public void addConfiguredConstructor(ClassMemberSpecificationElement classMemberSpecificationElement)

ProGuard