org.springframework.roo.classpath.details
Interface InvocableMemberMetadata

All Superinterfaces:
CommentedJavaStructure, org.springframework.roo.model.CustomDataAccessor, IdentifiableAnnotatedJavaStructure, IdentifiableJavaStructure
All Known Subinterfaces:
ConstructorMetadata, MethodMetadata
All Known Implementing Classes:
AbstractInvocableMemberMetadata, DefaultConstructorMetadata, DefaultMethodMetadata

public interface InvocableMemberMetadata
extends IdentifiableAnnotatedJavaStructure, CommentedJavaStructure

Metadata concerning an invocable member, namely a method or constructor.

Since:
1.0
Author:
Ben Alex

Method Summary
 String getBody()
           
 List<org.springframework.roo.model.JavaSymbolName> getParameterNames()
           
 List<AnnotatedJavaType> getParameterTypes()
           
 List<org.springframework.roo.model.JavaType> getThrowsTypes()
           
 
Methods inherited from interface org.springframework.roo.classpath.details.IdentifiableAnnotatedJavaStructure
getAnnotation, getAnnotations, getTypeAnnotation
 
Methods inherited from interface org.springframework.roo.classpath.details.IdentifiableJavaStructure
getDeclaredByMetadataId, getModifier
 
Methods inherited from interface org.springframework.roo.model.CustomDataAccessor
getCustomData
 
Methods inherited from interface org.springframework.roo.classpath.details.comments.CommentedJavaStructure
getCommentStructure, setCommentStructure
 

Method Detail

getBody

String getBody()
Returns:
the body of the method, if available (can be null if unavailable)

getParameterNames

List<org.springframework.roo.model.JavaSymbolName> getParameterNames()
Returns:
the parameter names, if available (never null, but may be an empty)

getParameterTypes

List<AnnotatedJavaType> getParameterTypes()
Returns:
the parameter types (never null, but may be an empty)

getThrowsTypes

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


Copyright © 2009–2015. All rights reserved.