|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCodeGen.Methode
public class Methode
Helper class for keeping track of methods inside CodeGen
Field Summary | |
---|---|
private boolean |
_const
Whether or not the method is const (== all parameters are const) |
private ClassInfo |
cinfo
The declaring class |
private java.lang.reflect.Method |
meth
Reflection method object |
private MethodInfo |
minfo
Info object |
Constructor Summary | |
---|---|
Methode(ClassInfo cinfo,
java.lang.reflect.Method meth)
Default constructor |
Method Summary | |
---|---|
boolean |
_const()
Whether or not the method is const |
boolean |
dont()
Whether or not this method is exported |
static Methode[] |
fetchAll(ClassInfo cinfo)
Generate Methode-objects for all methods of a class |
java.lang.String |
head(boolean isrResult)
Generate a method header |
boolean |
here()
Whether or not this method was declared in the class itself or inherited from superclasses |
boolean |
isStatic()
Whether or not this method is static |
boolean |
isVoid()
Whether or not this method is void |
int |
len()
Number of parameters this method takes |
MethodInfo |
minfo()
The info object |
java.lang.String |
modifiers()
Modifiers (public, private, ...) of this method |
java.lang.String |
name()
Name of the method |
java.lang.String |
params()
Parameters of this method |
java.lang.String |
returns()
Return type of this method |
java.lang.String |
returnsT()
Return type with template parameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private ClassInfo cinfo
private java.lang.reflect.Method meth
private MethodInfo minfo
private boolean _const
Constructor Detail |
---|
public Methode(ClassInfo cinfo, java.lang.reflect.Method meth)
cinfo
- Declaring classmeth
- MethodMethod Detail |
---|
public boolean _const()
public boolean dont()
public int len()
public boolean here()
public boolean isVoid()
public boolean isStatic()
public java.lang.String head(boolean isrResult)
isrResult
- If true, the header for an rResult wrapper method will be
generated
public java.lang.String name()
public java.lang.String modifiers()
public java.lang.String params()
public java.lang.String returns()
public java.lang.String returnsT()
public MethodInfo minfo()
public static Methode[] fetchAll(ClassInfo cinfo)
cinfo
- Java class
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |