public class MethodGen extends Object implements MethodGen
Modifier and Type | Field and Description |
---|---|
protected boolean |
isAbstract |
protected boolean |
localOptimization |
protected MethodEntry |
m |
protected int |
methodIndex |
protected String |
realName |
protected PrintWriter |
stream |
protected Hashtable |
symbolTable |
Constructor and Description |
---|
MethodGen()
Public zero-argument constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatchSkeleton(Hashtable symbolTable,
MethodEntry m,
PrintWriter stream,
int index) |
void |
generate(Hashtable symbolTable,
MethodEntry m,
PrintWriter stream)
Method generate() is not used in MethodGen.
|
protected void |
interfaceMethod(Hashtable symbolTable,
MethodEntry m,
PrintWriter stream) |
protected boolean |
isValueInitializer()
Determine whether method entry m is a valuetype initializer.
|
protected void |
localstub(Hashtable symbolTable,
MethodEntry m,
PrintWriter stream,
int index,
InterfaceEntry i) |
protected String |
passType(int passType) |
protected void |
serverMethodName(String name)
This is only used by AttributeGen.
|
protected void |
skeleton(Hashtable symbolTable,
MethodEntry m,
PrintWriter stream,
int index) |
protected void |
stub(String className,
boolean isAbstract,
Hashtable symbolTable,
MethodEntry m,
PrintWriter stream,
int index) |
protected void |
writeCreateReply(String indent) |
protected void |
writeDispatchCall() |
protected void |
writeLocalStubBody(InterfaceEntry i) |
protected void |
writeMethodCall(String indent) |
protected void |
writeMethodSignature() |
protected void |
writeParmType(SymtabEntry parm,
int passType) |
protected void |
writeStubBody(String className) |
protected int methodIndex
protected String realName
protected Hashtable symbolTable
protected MethodEntry m
protected PrintWriter stream
protected boolean localOptimization
protected boolean isAbstract
public void generate(Hashtable symbolTable, MethodEntry m, PrintWriter stream)
protected void interfaceMethod(Hashtable symbolTable, MethodEntry m, PrintWriter stream)
protected void stub(String className, boolean isAbstract, Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index)
protected void localstub(Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index, InterfaceEntry i)
protected void skeleton(Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index)
protected void dispatchSkeleton(Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index)
protected boolean isValueInitializer()
protected void writeMethodSignature()
protected void writeParmType(SymtabEntry parm, int passType)
protected void writeDispatchCall()
protected void writeStubBody(String className)
protected void writeLocalStubBody(InterfaceEntry i)
protected String passType(int passType)
protected void serverMethodName(String name)
protected void writeMethodCall(String indent)
protected void writeCreateReply(String indent)
Copyright © 2020 JBoss by Red Hat. All rights reserved.