All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.ClassFile.HConstructorSyn

java.lang.Object
   |
   +----harpoon.ClassFile.HMethod
           |
           +----harpoon.ClassFile.HConstructorSyn

public class HConstructorSyn
extends HMethod
An HConstructorSyn is a mutable representation of a single constructor for a class.

Version:
$Id: HConstructorSyn.java,v 1.2 1998/10/16 11:42:57 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
HMember, HClass

Constructor Index

 o HConstructorSyn(HClass, String)
Create a new empty constructor for the specified class with the specified descriptor that throws no checked exceptions.
 o HConstructorSyn(HConstructor)
Create a new method based on a template.

Method Index

 o setExceptionType(int, HClass)
 o setExceptionTypes(HClass[])
 o setModifiers(int)
 o setParameterName(int, String)
 o setParameterNames(String[])
 o setParameterType(int, HClass)
 o setParameterTypes(HClass[])
 o setSynthetic(boolean)

Constructors

 o HConstructorSyn
 public HConstructorSyn(HConstructor template)
Create a new method based on a template.

 o HConstructorSyn
 public HConstructorSyn(HClass parent,
                        String descriptor)
Create a new empty constructor for the specified class with the specified descriptor that throws no checked exceptions. You must putCode to make this constructor valid.

Methods

 o setModifiers
 public void setModifiers(int m)
 o setParameterTypes
 public void setParameterTypes(HClass parameterTypes[])
 o setParameterType
 public void setParameterType(int which,
                              HClass type)
 o setParameterNames
 public void setParameterNames(String parameterNames[])
 o setParameterName
 public void setParameterName(int which,
                              String name)
 o setExceptionTypes
 public void setExceptionTypes(HClass exceptionTypes[])
 o setExceptionType
 public void setExceptionType(int which,
                              HClass type)
 o setSynthetic
 public void setSynthetic(boolean isSynthetic)

All Packages  Class Hierarchy  This Package  Previous  Next  Index