public class Classdef
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.util.HashMap<java.lang.String,ArrayDeclaration> |
arrayDecs |
(package private) java.lang.String |
className |
(package private) SuperCallConstructor |
constructor |
(package private) DefaultConstructor |
econstructor |
(package private) DefaultConstructor |
esubConstructor |
(package private) java.lang.String |
extendsName |
(package private) java.util.ArrayList<FieldSignature> |
fields |
(package private) java.util.ArrayList<java.lang.String> |
implementsNames |
java.util.ArrayList<java.lang.String> |
imports |
(package private) java.lang.String |
info |
(package private) java.util.ArrayList<MethodSignature> |
methods |
(package private) java.lang.String |
packageName |
(package private) java.lang.String |
qualifier |
(package private) java.lang.String |
subclassImports |
(package private) java.lang.String |
subclassName |
(package private) SuperCallConstructor |
subConstructor |
Constructor and Description |
---|
Classdef() |
Modifier and Type | Method and Description |
---|---|
void |
addDefaultConstructor() |
void |
addDefaultConstructor(java.lang.String sbody) |
void |
addField(FieldSignature ms) |
FieldSignature |
addGetSetField(java.lang.String st,
java.lang.String sn) |
void |
addImplements(java.lang.String s) |
void |
addImplementsName(java.lang.String s) |
void |
addImport(java.lang.Object obj) |
void |
addMethod(MethodSignature ms) |
void |
addStringImport(java.lang.String s) |
void |
addSubclassImports(java.lang.String s) |
void |
addSuperCallConstructor() |
void |
addSuperCallConstructor(java.lang.String argtype) |
void |
addSuperCallConstructor(java.lang.String argtype,
java.lang.String body) |
void |
addToArray(java.lang.String anm,
java.lang.String aval) |
void |
appendToBody(java.lang.String methname,
java.lang.String line) |
int |
countAccessibleFields() |
java.lang.String |
getClassName() |
MethodSignature |
getMethod(java.lang.String mnm) |
ScriptStubs |
getSubSourceMethodStubs() |
private java.lang.String |
makeJavaImports() |
private java.lang.String |
makePackageStatement() |
FieldSignature |
newGetSetField(java.lang.String typ,
java.lang.String nm) |
MethodSignature |
newMethod(java.lang.String mnm) |
FieldSignature |
newPrivateField(java.lang.String typ,
java.lang.String nm) |
FieldSignature |
newPublicField(java.lang.String typ,
java.lang.String nm) |
MethodSignature |
newReadMethod(java.lang.String rtype,
java.lang.String mnm,
java.lang.String atype) |
MethodSignature |
newReceiveMethod(java.lang.String mnm,
java.lang.String atype) |
FieldSignature |
newReflectableField(java.lang.String typ,
java.lang.String nm) |
MethodSignature |
newSendMethod(java.lang.String mnm,
java.lang.String atype) |
MethodSignature |
newShowMethod(java.lang.String rtype,
java.lang.String mnm,
java.lang.String atype) |
private int |
nlines(java.lang.StringBuffer sb) |
void |
setClassName(java.lang.String s) |
void |
setInfo(java.lang.String msg) |
void |
setPackage(java.lang.String s) |
void |
setQualifier(java.lang.String s) |
void |
setSubclassName(java.lang.String s) |
void |
setSuperclassName(java.lang.String s) |
void |
setUserHidden(java.lang.String methname) |
void |
startArrayDeclaration(java.lang.String sType,
java.lang.String sName) |
java.lang.String |
writeLocalFieldComments() |
java.lang.String |
writeSubSource() |
java.lang.String |
writeSubSourceMethods() |
java.lang.String |
writeSystemFieldComments() |
java.lang.String |
writeSystemFieldComments(java.lang.String pname) |
java.lang.String |
writeSystemSignatures() |
java.lang.String |
writeSystemSource() |
java.lang.String info
java.lang.String packageName
java.lang.String className
java.lang.String subclassName
java.lang.String extendsName
java.lang.String qualifier
SuperCallConstructor constructor
SuperCallConstructor subConstructor
DefaultConstructor econstructor
DefaultConstructor esubConstructor
java.util.ArrayList<FieldSignature> fields
java.util.HashMap<java.lang.String,ArrayDeclaration> arrayDecs
java.util.ArrayList<MethodSignature> methods
public java.util.ArrayList<java.lang.String> imports
java.util.ArrayList<java.lang.String> implementsNames
java.lang.String subclassImports
public void setPackage(java.lang.String s)
public void setQualifier(java.lang.String s)
public void addImplements(java.lang.String s)
public void setClassName(java.lang.String s)
public java.lang.String getClassName()
public void setSubclassName(java.lang.String s)
public void setSuperclassName(java.lang.String s)
public void addImplementsName(java.lang.String s)
public void addField(FieldSignature ms)
public void addMethod(MethodSignature ms)
public MethodSignature getMethod(java.lang.String mnm)
public void addImport(java.lang.Object obj)
public void addStringImport(java.lang.String s)
private java.lang.String makePackageStatement()
private java.lang.String makeJavaImports()
public void setInfo(java.lang.String msg)
public MethodSignature newMethod(java.lang.String mnm)
public MethodSignature newShowMethod(java.lang.String rtype, java.lang.String mnm, java.lang.String atype)
public MethodSignature newReadMethod(java.lang.String rtype, java.lang.String mnm, java.lang.String atype)
public MethodSignature newSendMethod(java.lang.String mnm, java.lang.String atype)
public MethodSignature newReceiveMethod(java.lang.String mnm, java.lang.String atype)
public FieldSignature newPrivateField(java.lang.String typ, java.lang.String nm)
public FieldSignature newPublicField(java.lang.String typ, java.lang.String nm)
public FieldSignature newReflectableField(java.lang.String typ, java.lang.String nm)
public FieldSignature newGetSetField(java.lang.String typ, java.lang.String nm)
public java.lang.String writeSystemSource()
public java.lang.String writeSubSource()
public java.lang.String writeSystemFieldComments()
public java.lang.String writeSystemFieldComments(java.lang.String pname)
public int countAccessibleFields()
public java.lang.String writeLocalFieldComments()
public java.lang.String writeSystemSignatures()
public java.lang.String writeSubSourceMethods()
public ScriptStubs getSubSourceMethodStubs()
public void addSuperCallConstructor()
public void addSuperCallConstructor(java.lang.String argtype)
public void addSuperCallConstructor(java.lang.String argtype, java.lang.String body)
public void addDefaultConstructor(java.lang.String sbody)
public void addDefaultConstructor()
public void startArrayDeclaration(java.lang.String sType, java.lang.String sName)
public void addToArray(java.lang.String anm, java.lang.String aval)
public FieldSignature addGetSetField(java.lang.String st, java.lang.String sn)
public void setUserHidden(java.lang.String methname)
public void appendToBody(java.lang.String methname, java.lang.String line)
public void addSubclassImports(java.lang.String s)
private int nlines(java.lang.StringBuffer sb)
Copyright © 2013. All Rights Reserved.