public class DefaultMethodMetadata extends AbstractInvocableMemberMetadata implements MethodMetadata
MethodMetadata.| Modifier and Type | Method and Description |
|---|---|
org.springframework.roo.model.JavaSymbolName |
getMethodName() |
org.springframework.roo.model.JavaType |
getReturnType() |
boolean |
hasSameName(MethodMetadata... otherMethods)
Indicates whether this method has the same name (case-sensitive) as any
of the given methods
|
boolean |
isStatic()
Indicates whether this method is static
|
String |
toString() |
getBody, getCommentStructure, getGenericDefinition, getParameterNames, getParameterTypes, getThrowsTypes, setCommentStructure, setGenericDefinitiongetAnnotation, getAnnotations, getTypeAnnotationgetDeclaredByMetadataId, getModifiergetCustomDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBody, getParameterNames, getParameterTypes, getThrowsTypesgetAnnotation, getAnnotations, getTypeAnnotationgetDeclaredByMetadataId, getModifiergetCommentStructure, setCommentStructuregetGenericDefinition, setGenericDefinitionpublic org.springframework.roo.model.JavaSymbolName getMethodName()
getMethodName in interface MethodMetadatapublic final org.springframework.roo.model.JavaType getReturnType()
getReturnType in interface MethodMetadatapublic boolean hasSameName(MethodMetadata... otherMethods)
MethodMetadatahasSameName in interface MethodMetadataotherMethods - the methods to check against; can be empty or contain
null elements, which will be ignoredpublic boolean isStatic()
MethodMetadataisStatic in interface MethodMetadataCopyright © 2009–2016. All rights reserved.