|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.pfl.dynamic.codegen.impl.MemberInfoBase
org.glassfish.pfl.dynamic.codegen.impl.MethodInfoBase
public abstract class MethodInfoBase
| Field Summary | |
|---|---|
protected List<Variable> |
arguments
|
protected List<Type> |
exceptions
|
protected boolean |
isConstructor
|
protected Type |
rtype
|
| Constructor Summary | |
|---|---|
protected |
MethodInfoBase(ClassInfo cinfo,
int modifiers)
|
protected |
MethodInfoBase(ClassInfo cinfo,
int modifiers,
Type rtype,
String name)
|
| Method Summary | |
|---|---|
List<Variable> |
arguments()
Return a list of arguments for this method. |
void |
clearHashCode()
|
boolean |
equals(Object obj)
|
List<Type> |
exceptions()
Return a list of all Exception types that are declared as being throwable from this method. |
Constructor |
getConstructor()
Return the Constructor that is represented by this MethodInfo, or null if no such Constructor instance exists (because this MethodInfo represents a Constructor being generated, rather than a Constructor in a Class that is loaded into the VM). |
Method |
getMethod()
Return the Method that is represented by this MethodInfo, or null if no such Method instance exists (because this MethodInfo represents a Method being generated, rather than a Method in a Class that is loaded into the VM). |
int |
hashCode()
|
boolean |
isConstructor()
Returns true if this is a constructor, false if method. |
Type |
returnType()
Return the Type that is returned by this method. |
Signature |
signature()
Return the signature of this method. |
| Methods inherited from class org.glassfish.pfl.dynamic.codegen.impl.MemberInfoBase |
|---|
isAccessibleInContext, modifiers, myClassInfo, name, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.glassfish.pfl.dynamic.codegen.spi.MemberInfo |
|---|
isAccessibleInContext, modifiers, myClassInfo, name |
| Field Detail |
|---|
protected Type rtype
protected List<Type> exceptions
protected List<Variable> arguments
protected boolean isConstructor
| Constructor Detail |
|---|
protected MethodInfoBase(ClassInfo cinfo,
int modifiers)
protected MethodInfoBase(ClassInfo cinfo,
int modifiers,
Type rtype,
String name)
| Method Detail |
|---|
public boolean isConstructor()
MethodInfo
isConstructor in interface MethodInfopublic Type returnType()
MethodInfo
returnType in interface MethodInfopublic List<Type> exceptions()
MethodInfo
exceptions in interface MethodInfopublic List<Variable> arguments()
MethodInfo
arguments in interface MethodInfopublic Signature signature()
MethodInfo
signature in interface MethodInfopublic Method getMethod()
MethodInfo
getMethod in interface MethodInfopublic Constructor getConstructor()
MethodInfo
getConstructor in interface MethodInfopublic boolean equals(Object obj)
equals in class MemberInfoBasepublic void clearHashCode()
public int hashCode()
hashCode in class MemberInfoBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||