proguard.ant
Class MemberSpecificationElement

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.types.DataType
          extended by proguard.ant.MemberSpecificationElement
All Implemented Interfaces:
java.lang.Cloneable

public class MemberSpecificationElement
extends org.apache.tools.ant.types.DataType

This DataType represents a class member 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
MemberSpecificationElement()
           
 
Method Summary
 void appendTo(java.util.List memberSpecifications, boolean isMethod, boolean isConstructor)
          Adds the contents of this class member specification element to the given list.
 void setAccess(java.lang.String access)
           
 void setAnnotation(java.lang.String annotation)
           
 void setName(java.lang.String name)
           
 void setParam(java.lang.String parameters)
          Deprecated. Use setParameters(String) instead.
 void setParameters(java.lang.String parameters)
           
 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

MemberSpecificationElement

public MemberSpecificationElement()
Method Detail

appendTo

public void appendTo(java.util.List memberSpecifications,
                     boolean isMethod,
                     boolean isConstructor)
Adds the contents of this class member specification element to the given list.

Parameters:
memberSpecifications - the class member specifications to be extended.
isMethod - specifies whether this specification refers to a method.
isConstructor - specifies whether this specification refers to a constructor.

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)

setParameters

public void setParameters(java.lang.String parameters)

setParam

public void setParam(java.lang.String parameters)
Deprecated. Use setParameters(String) instead.