org.springframework.roo.classpath.details
Interface MethodMetadata

All Superinterfaces:
IdentifiableMember, InvocableMemberMetadata
All Known Implementing Classes:
DefaultMethodMetadata

public interface MethodMetadata
extends InvocableMemberMetadata

Metadata concerning a particular method.

Since:
1.0
Author:
Ben Alex

Method Summary
 org.springframework.roo.model.JavaSymbolName getMethodName()
           
 org.springframework.roo.model.JavaType getReturnType()
           
 List<org.springframework.roo.model.JavaType> getThrowsTypes()
           
 
Methods inherited from interface org.springframework.roo.classpath.details.InvocableMemberMetadata
getAnnotations, getBody, getParameterNames, getParameterTypes
 
Methods inherited from interface org.springframework.roo.classpath.details.IdentifiableMember
getDeclaredByMetadataId, getModifier
 

Method Detail

getReturnType

org.springframework.roo.model.JavaType getReturnType()
Returns:
the return type (never null, even if void)

getMethodName

org.springframework.roo.model.JavaSymbolName getMethodName()
Returns:
the name of the method (never null)

getThrowsTypes

List<org.springframework.roo.model.JavaType> getThrowsTypes()
Returns:
a list of types the method can throw (never null)


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.