|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.ejb.cfg.ApiMethod
public class ApiMethod
Represents an introspected method.
| Constructor Summary | |
|---|---|
ApiMethod(ApiClass apiClass,
java.lang.reflect.Method method,
java.util.HashMap<java.lang.String,java.lang.reflect.Type> typeMap)
Creates a new method. |
|
| Method Summary | ||
|---|---|---|
boolean |
equals(java.lang.Object o)
|
|
|
getAnnotation(java.lang.Class<T> annType)
Returns true if the annotation exists. |
|
java.lang.Class |
getDeclaringClass()
Returns the declaring class |
|
java.lang.Class[] |
getExceptionTypes()
Returns the method exception types. |
|
java.lang.String |
getFullName()
|
|
java.lang.reflect.Method |
getMethod()
Returns the underlying method. |
|
java.lang.String |
getName()
Returns the method name. |
|
java.lang.Class[] |
getParameterTypes()
Returns the method parameter types. |
|
java.lang.Class |
getReturnType()
Gets the return type. |
|
int |
hashCode()
|
|
boolean |
isAbstract()
Returns true for an abstract method. |
|
boolean |
isAnnotationPresent(java.lang.Class annotationType)
Returns an annotation. |
|
boolean |
isFinal()
Returns true for a final method. |
|
boolean |
isMatch(ApiMethod method)
Returns true if the method name matches. |
|
boolean |
isMatch(java.lang.String name,
java.lang.Class[] param)
Returns true if the method name matches. |
|
boolean |
isProtected()
Returns true for a protected method. |
|
boolean |
isPublic()
Returns true for a public method. |
|
boolean |
isStatic()
Returns true for a static method. |
|
boolean |
isVarArgs()
Returns true for var args |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApiMethod(ApiClass apiClass,
java.lang.reflect.Method method,
java.util.HashMap<java.lang.String,java.lang.reflect.Type> typeMap)
topClass - the top classmethod - the introspected method| Method Detail |
|---|
public java.lang.reflect.Method getMethod()
public java.lang.String getName()
public java.lang.Class getDeclaringClass()
public boolean isPublic()
public boolean isProtected()
public boolean isStatic()
public boolean isFinal()
public boolean isAbstract()
public java.lang.Class[] getParameterTypes()
public boolean isVarArgs()
public java.lang.Class getReturnType()
public java.lang.Class[] getExceptionTypes()
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annType)
public boolean isAnnotationPresent(java.lang.Class annotationType)
public boolean isMatch(ApiMethod method)
public boolean isMatch(java.lang.String name,
java.lang.Class[] param)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String getFullName()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||