|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.reflect.impl.asm.AsmMemberInfo
org.codehaus.aspectwerkz.reflect.impl.asm.AsmMethodInfo
public class AsmMethodInfo
ASM implementation of the MethodInfo interface.
| Field Summary | |
|---|---|
protected String[] |
m_parameterNames
A list with the parameter names as they appear in the source code. |
| Fields inherited from class org.codehaus.aspectwerkz.reflect.impl.asm.AsmMemberInfo |
|---|
m_annotations, m_classInfoRepository, m_declaringType, m_declaringTypeName, m_loaderRef, m_member |
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
List |
getAnnotations()
Returns the annotations. |
ClassInfo[] |
getExceptionTypes()
Returns the exception types. |
static MethodInfo |
getMethodInfo(String methodName,
String methodDesc,
byte[] bytecode,
ClassLoader loader)
Returns the method info for the method specified. |
String[] |
getParameterNames()
Returns the parameter names as they appear in the source code. |
ClassInfo[] |
getParameterTypes()
Returns the parameter types. |
ClassInfo |
getReturnType()
Returns the return type. |
String |
getSignature()
Returns the signature for the element. |
int |
hashCode()
|
void |
pushParameterNameFromRegister(int registerIndex,
String parameterName)
Update the parameter name given the parameter information the index is the one from the register ie a long or double will needs 2 register |
String |
toString()
|
| Methods inherited from class org.codehaus.aspectwerkz.reflect.impl.asm.AsmMemberInfo |
|---|
getDeclaringType, getModifiers, getName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.codehaus.aspectwerkz.reflect.MemberInfo |
|---|
getDeclaringType |
| Methods inherited from interface org.codehaus.aspectwerkz.reflect.ReflectionInfo |
|---|
getModifiers, getName |
| Field Detail |
|---|
protected String[] m_parameterNames
| Method Detail |
|---|
public static MethodInfo getMethodInfo(String methodName,
String methodDesc,
byte[] bytecode,
ClassLoader loader)
methodName - methodDesc - bytecode - loader -
public String getSignature()
getSignature in interface ReflectionInfopublic ClassInfo getReturnType()
getReturnType in interface MethodInfopublic ClassInfo[] getParameterTypes()
getParameterTypes in interface MethodInfopublic String[] getParameterNames()
getParameterNames in interface MethodInfopublic ClassInfo[] getExceptionTypes()
getExceptionTypes in interface MethodInfopublic List getAnnotations()
getAnnotations in interface ReflectionInfopublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
public void pushParameterNameFromRegister(int registerIndex,
String parameterName)
registerIndex - parameterName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||