|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.weld.util.bytecode.ConstructorUtils
public class ConstructorUtils
Utility class for working with constructors in the low level javassist API
Method Summary | |
---|---|
static void |
addConstructor(String descriptor,
String[] exceptions,
javassist.bytecode.ClassFile file,
javassist.bytecode.Bytecode initialValueBytecode)
Adds a constructor that delegates to a super constructor with the same descriptor. |
static void |
addDefaultConstructor(javassist.bytecode.ClassFile file,
javassist.bytecode.Bytecode initialValueBytecode)
adds a constructor that calls super() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void addDefaultConstructor(javassist.bytecode.ClassFile file, javassist.bytecode.Bytecode initialValueBytecode)
public static void addConstructor(String descriptor, String[] exceptions, javassist.bytecode.ClassFile file, javassist.bytecode.Bytecode initialValueBytecode)
descriptor
- the constructor descriptorexceptions
- any exceptions that are thrownfile
- the classfile to add the constructor toinitialValueBytecode
- bytecode that can be used to set inial values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |