| java.lang.Object org.codehaus.aspectwerkz.reflect.impl.asm.AsmMemberInfo org.codehaus.aspectwerkz.reflect.impl.asm.AsmMethodInfo
Field Summary | |
protected String[] | m_parameterNames A list with the parameter names as they appear in the source code. |
m_parameterNames | protected String[] m_parameterNames(Code) | | A list with the parameter names as they appear in the source code.
This information may not be available.
|
AsmMethodInfo | AsmMethodInfo(MethodStruct method, String declaringType, ClassLoader loader)(Code) | | Creates a new method info instance.
Parameters: method - Parameters: declaringType - Parameters: loader - |
getAnnotations | public List getAnnotations()(Code) | | Returns the annotations.
the annotations |
getExceptionTypes | public ClassInfo[] getExceptionTypes()(Code) | | Returns the exception types.
the exception types |
getMethodInfo | public static MethodInfo getMethodInfo(String methodName, String methodDesc, byte[] bytecode, ClassLoader loader)(Code) | | Returns the method info for the method specified.
Parameters: methodName - Parameters: methodDesc - Parameters: bytecode - Parameters: loader - the method info |
getParameterNames | public String[] getParameterNames()(Code) | | Returns the parameter names as they appear in the source code.
This information is available only when class are compiled with javac -g (debug info), but is required
for Aspect that are using args() and target()/this() bindings.
It returns null if not available.
|
getParameterTypes | public ClassInfo[] getParameterTypes()(Code) | | Returns the parameter types.
the parameter types |
getReturnType | public ClassInfo getReturnType()(Code) | | Returns the return type.
the return type |
getSignature | public String getSignature()(Code) | | Returns the signature for the element.
the signature for the element |
hashCode | public int hashCode()(Code) | | |
pushParameterNameFromRegister | public void pushParameterNameFromRegister(int registerIndex, String parameterName)(Code) | | 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
Parameters: registerIndex - Parameters: parameterName - |
|
|