Package | Description |
---|---|
org.jboss.classfilewriter | |
org.jboss.classfilewriter.attributes | |
org.jboss.classfilewriter.code |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<ClassMethod> |
ClassFile.methods |
Modifier and Type | Method and Description |
---|---|
ClassMethod |
ClassFile.addConstructor(java.lang.reflect.Constructor<?> method)
Adds a constructor with the same signiture as the given constrcutor, including exception types
|
ClassMethod |
ClassFile.addMethod(int accessFlags,
java.lang.String name,
java.lang.String returnType,
java.lang.String... parameters) |
ClassMethod |
ClassFile.addMethod(java.lang.reflect.Method method)
Adds a method with the same signiture as the given method, including exception types
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<ClassMethod> |
ClassFile.getMethods() |
Modifier and Type | Field and Description |
---|---|
private ClassMethod |
StackMapTableAttribute.method |
Constructor and Description |
---|
StackMapTableAttribute(ClassMethod classMethod,
ConstPool constPool) |
Modifier and Type | Field and Description |
---|---|
private ClassMethod |
CodeAttribute.method |
Constructor and Description |
---|
CodeAttribute(ClassMethod method,
ConstPool constPool) |
LocalVariableState(ClassMethod method)
construct the initial local variable state for a method
|
StackFrame(ClassMethod method)
Creates the initial stack frame
|