|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.proxy.compiler.ProxyAssembler
ProxyCompiler
or Jakarta BCEL instead.
public class ProxyAssembler
A simple bytecode assembler.
Constructor Summary | |
---|---|
ProxyAssembler(String className,
int modifiers,
Class superClass,
Class[] interfaces)
Deprecated. |
Method Summary | |
---|---|
void |
addAttribute(org.jboss.proxy.compiler.ProxyAssembler.AMember m,
String name,
Object data)
Deprecated. |
void |
addAttribute(String name,
Object data)
Deprecated. |
Object |
addMember(int mods,
Class type,
Class[] exceptionClasses,
String name)
Deprecated. |
Object |
addMember(int mods,
Class rtype,
String name,
Class[] ptypes,
Class[] exceptionClasses)
Deprecated. |
void |
checkCast(Object t)
Deprecated. |
int |
declare(Object t)
Deprecated. |
int |
dup()
Deprecated. |
short |
getClassIndex(Class c)
Deprecated. |
byte[] |
getCode()
Deprecated. |
Object |
getCurrentMember()
Deprecated. |
short |
getIndex(Object x)
Deprecated. |
short |
getMemberIndex(Object cls,
String name)
Deprecated. |
short |
getMemberIndex(Object cls,
String name,
Class[] ptypes)
Deprecated. |
short |
getNTIndex(String name,
String sig)
Deprecated. |
static String |
getSig(Class t)
Deprecated. |
static String |
getSig(Class rt,
Class[] pt)
Deprecated. |
short |
getUtfIndex(String x)
Deprecated. |
byte[] |
internalGetCode()
Deprecated. |
int |
invoke(Object cls,
String name,
Class[] ptypes)
Deprecated. |
void |
pushConstant(int x)
Deprecated. |
void |
pushConstant(Object x)
Deprecated. |
void |
pushElement(Object etype)
Deprecated. |
int |
pushField(Object cls,
String name)
Deprecated. |
int |
pushLocal(int loc)
Deprecated. |
int |
pushNewArray(Object etype)
Deprecated. |
void |
ret()
Deprecated. |
void |
setCurrentMember(Object m)
Deprecated. |
void |
setElement(Object etype)
Deprecated. |
void |
setField(Object cls,
String name)
Deprecated. |
void |
undeclare(Object t)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProxyAssembler(String className, int modifiers, Class superClass, Class[] interfaces)
Method Detail |
---|
public short getIndex(Object x)
public short getUtfIndex(String x)
public short getNTIndex(String name, String sig)
public short getClassIndex(Class c)
public short getMemberIndex(Object cls, String name, Class[] ptypes)
public short getMemberIndex(Object cls, String name)
public static String getSig(Class t)
public static String getSig(Class rt, Class[] pt)
public Object getCurrentMember()
public void setCurrentMember(Object m)
public Object addMember(int mods, Class rtype, String name, Class[] ptypes, Class[] exceptionClasses)
public Object addMember(int mods, Class type, Class[] exceptionClasses, String name)
public void addAttribute(org.jboss.proxy.compiler.ProxyAssembler.AMember m, String name, Object data)
public void addAttribute(String name, Object data)
public int declare(Object t)
public void undeclare(Object t)
public void pushConstant(Object x)
public void pushConstant(int x)
public int pushLocal(int loc)
public int dup()
public void checkCast(Object t)
public int pushNewArray(Object etype)
public void setElement(Object etype)
public void pushElement(Object etype)
public void ret()
public int pushField(Object cls, String name)
public void setField(Object cls, String name)
public int invoke(Object cls, String name, Class[] ptypes)
public byte[] getCode()
public byte[] internalGetCode() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |