public class MethodSignature extends java.lang.Object implements BlockSignature
Modifier and Type | Field and Description |
---|---|
(package private) java.util.ArrayList<java.lang.String[]> |
args |
(package private) java.lang.String |
body |
(package private) java.lang.String |
functionName |
(package private) java.lang.String |
info |
(package private) MethodBody |
methodBody |
static int |
REQUIRED_USER_SOURCE |
(package private) java.lang.String |
returnType |
(package private) int |
sourceType |
static int |
SUPER_SOURCE |
(package private) boolean |
superdefd |
static int |
SYSTEM_SOURCE |
(package private) int |
type |
static int |
USER_SOURCE |
(package private) boolean |
userAccessible |
Constructor and Description |
---|
MethodSignature(java.lang.String fn) |
MethodSignature(java.lang.String fn,
int typ) |
Modifier and Type | Method and Description |
---|---|
void |
addArgument(java.lang.String typ,
java.lang.String nm) |
void |
addBodyCaseRelay(java.lang.String svar,
java.lang.String sid,
java.lang.String call) |
void |
appendToBody(java.lang.String line) |
boolean |
emptyBody() |
java.lang.String |
getName() |
MethodStub |
getStub() |
int |
getTypeCode() |
static java.lang.String |
getTypeInfo(int itc) |
boolean |
isRequiredUser() |
boolean |
isSuper() |
boolean |
isSystem() |
boolean |
isUser() |
boolean |
isUserAccessible() |
void |
setBody(java.lang.String txt) |
void |
setInfo(java.lang.String s) |
void |
setRequiredUserSource() |
void |
setReturnType(java.lang.String s) |
void |
setSuperDefined() |
void |
setSuperSource() |
void |
setSystemSource() |
void |
setType(int ity) |
void |
setUserHidden() |
void |
setUserSource() |
boolean |
superDefined() |
java.lang.String |
toAbstractJavaSource() |
java.lang.String |
toJavaSource() |
java.lang.String |
toJavaSource(java.lang.String qualifier) |
private java.lang.String |
writeArgs() |
java.lang.Object |
writeCommentSignature() |
int type
public static final int USER_SOURCE
public static final int SYSTEM_SOURCE
public static final int REQUIRED_USER_SOURCE
public static final int SUPER_SOURCE
int sourceType
java.lang.String info
java.lang.String returnType
java.lang.String functionName
java.util.ArrayList<java.lang.String[]> args
java.lang.String body
MethodBody methodBody
boolean userAccessible
boolean superdefd
public MethodSignature(java.lang.String fn)
public MethodSignature(java.lang.String fn, int typ)
public void setSuperDefined()
public boolean superDefined()
public void setUserSource()
public void setSuperSource()
public void setSystemSource()
public void setRequiredUserSource()
public void setReturnType(java.lang.String s)
public void addArgument(java.lang.String typ, java.lang.String nm)
public void setBody(java.lang.String txt)
public void setType(int ity)
public int getTypeCode()
getTypeCode
in interface BlockSignature
public static java.lang.String getTypeInfo(int itc)
public void setInfo(java.lang.String s)
public java.lang.String getName()
getName
in interface BlockSignature
public java.lang.String toJavaSource()
public java.lang.String toAbstractJavaSource()
public java.lang.String toJavaSource(java.lang.String qualifier)
public MethodStub getStub()
private java.lang.String writeArgs()
public void setUserHidden()
public boolean emptyBody()
public boolean isUserAccessible()
public boolean isSuper()
public boolean isSystem()
public boolean isUser()
public boolean isRequiredUser()
public java.lang.Object writeCommentSignature()
public void addBodyCaseRelay(java.lang.String svar, java.lang.String sid, java.lang.String call)
public void appendToBody(java.lang.String line)
Copyright © 2013. All Rights Reserved.