public interface MethodMetadata extends InvocableMemberMetadata
| 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
|
getBody, getParameterNames, getParameterTypes, getThrowsTypesgetAnnotation, getAnnotations, getTypeAnnotationgetDeclaredByMetadataId, getModifiergetCommentStructure, setCommentStructuregetGenericDefinition, setGenericDefinitionorg.springframework.roo.model.JavaSymbolName getMethodName()
org.springframework.roo.model.JavaType getReturnType()
boolean hasSameName(MethodMetadata... otherMethods)
otherMethods - the methods to check against; can be empty or contain
null elements, which will be ignoredboolean isStatic()
Copyright © 2009–2016. All rights reserved.