org.springframework.roo.classpath.details
Class AbstractInvocableMemberMetadata
java.lang.Object
org.springframework.roo.model.AbstractCustomDataAccessorProvider
org.springframework.roo.classpath.details.AbstractIdentifiableJavaStructureProvider
org.springframework.roo.classpath.details.AbstractIdentifiableAnnotatedJavaStructureProvider
org.springframework.roo.classpath.details.AbstractInvocableMemberMetadata
- All Implemented Interfaces:
- CommentedJavaStructure, IdentifiableAnnotatedJavaStructure, IdentifiableJavaStructure, InvocableMemberMetadata, org.springframework.roo.model.CustomDataAccessor
- Direct Known Subclasses:
- DefaultConstructorMetadata, DefaultMethodMetadata
public abstract class AbstractInvocableMemberMetadata
- extends AbstractIdentifiableAnnotatedJavaStructureProvider
- implements InvocableMemberMetadata
Abstract implementation of InvocableMemberMetadata.
- Since:
- 1.0
- Author:
- Ben Alex
| Methods inherited from class org.springframework.roo.model.AbstractCustomDataAccessorProvider |
getCustomData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.roo.model.CustomDataAccessor |
getCustomData |
AbstractInvocableMemberMetadata
protected AbstractInvocableMemberMetadata(org.springframework.roo.model.CustomData customData,
String declaredByMetadataId,
int modifier,
List<AnnotationMetadata> annotations,
List<AnnotatedJavaType> parameterTypes,
List<org.springframework.roo.model.JavaSymbolName> parameterNames,
List<org.springframework.roo.model.JavaType> throwsTypes,
String body)
- Constructor
- Parameters:
customData - declaredByMetadataId - modifier - annotations - parameterTypes - parameterNames - throwsTypes - body -
getBody
public final String getBody()
- Specified by:
getBody in interface InvocableMemberMetadata
- Returns:
- the body of the method, if available (can be null if unavailable)
getParameterNames
public final List<org.springframework.roo.model.JavaSymbolName> getParameterNames()
- Specified by:
getParameterNames in interface InvocableMemberMetadata
- Returns:
- the parameter names, if available (never null, but may be an
empty)
getParameterTypes
public final List<AnnotatedJavaType> getParameterTypes()
- Specified by:
getParameterTypes in interface InvocableMemberMetadata
- Returns:
- the parameter types (never null, but may be an empty)
getThrowsTypes
public final List<org.springframework.roo.model.JavaType> getThrowsTypes()
- Specified by:
getThrowsTypes in interface InvocableMemberMetadata
- Returns:
- a list of types that the invocable member can throw (never null)
getCommentStructure
public CommentStructure getCommentStructure()
- Specified by:
getCommentStructure in interface CommentedJavaStructure
setCommentStructure
public void setCommentStructure(CommentStructure commentStructure)
- Specified by:
setCommentStructure in interface CommentedJavaStructure
Copyright © 2009–2015. All rights reserved.