koala.dynamicjava.classinfo
Class JavaConstructorInfo
java.lang.Object
|
+--koala.dynamicjava.classinfo.JavaConstructorInfo
- All Implemented Interfaces:
- ConstructorInfo
- public class JavaConstructorInfo
- extends java.lang.Object
- implements ConstructorInfo
The instances of this class provides informations about
class constructors compiled to JVM bytecode.
Constructor Summary |
JavaConstructorInfo(java.lang.reflect.Constructor f)
Creates a new class info |
Method Summary |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one |
ClassInfo[] |
getExceptionTypes()
Returns an array of Class infos that represent the types of
the exceptions declared to be thrown by the underlying constructor |
int |
getModifiers()
Returns the modifiers for the constructor represented by this object |
ClassInfo[] |
getParameterTypes()
Returns an array of class infos that represent the parameter
types, in declaration order, of the constructor represented
by this object |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaConstructorInfo
public JavaConstructorInfo(java.lang.reflect.Constructor f)
- Creates a new class info
- Parameters:
f
- the java constructor
getModifiers
public int getModifiers()
- Returns the modifiers for the constructor represented by this object
- Specified by:
getModifiers
in interface ConstructorInfo
getParameterTypes
public ClassInfo[] getParameterTypes()
- Returns an array of class infos that represent the parameter
types, in declaration order, of the constructor represented
by this object
- Specified by:
getParameterTypes
in interface ConstructorInfo
getExceptionTypes
public ClassInfo[] getExceptionTypes()
- Returns an array of Class infos that represent the types of
the exceptions declared to be thrown by the underlying constructor
- Specified by:
getExceptionTypes
in interface ConstructorInfo
equals
public boolean equals(java.lang.Object obj)
- Indicates whether some other object is "equal to" this one
- Overrides:
equals
in class java.lang.Object
Copyright © 2001 Stephane Hillion. All Rights Reserved.