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
-
HConstructorSyn(HClass, String)
- Create a new empty constructor for the specified class
with the specified descriptor that
throws no checked exceptions.
-
HConstructorSyn(HConstructor)
- Create a new method based on a template.
-
setExceptionType(int, HClass)
-
-
setExceptionTypes(HClass[])
-
-
setModifiers(int)
-
-
setParameterName(int, String)
-
-
setParameterNames(String[])
-
-
setParameterType(int, HClass)
-
-
setParameterTypes(HClass[])
-
-
setSynthetic(boolean)
-
HConstructorSyn
public HConstructorSyn(HConstructor template)
- Create a new method based on a template.
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.
setModifiers
public void setModifiers(int m)
setParameterTypes
public void setParameterTypes(HClass parameterTypes[])
setParameterType
public void setParameterType(int which,
HClass type)
setParameterNames
public void setParameterNames(String parameterNames[])
setParameterName
public void setParameterName(int which,
String name)
setExceptionTypes
public void setExceptionTypes(HClass exceptionTypes[])
setExceptionType
public void setExceptionType(int which,
HClass type)
setSynthetic
public void setSynthetic(boolean isSynthetic)
All Packages Class Hierarchy This Package Previous Next Index