Method |
Description |
|
__construct ( PDepend\Source\AST\ASTMethod $node ) |
Constructs a new method wrapper. |
|
getFullQualifiedName ( ) : string |
Returns the full qualified name of a class, an interface, a method or
a function. |
|
getNamespaceName ( ) : string |
Returns the name of the parent package. |
|
getParentName ( ) : string |
Returns the name of the parent type or null when this node has no
parent type. |
|
getParentType ( ) : PHPMD\Node\AbstractTypeNode |
Returns the parent class or interface instance. |
|
hasSuppressWarningsAnnotationFor ( PHPMD\Rule $rule ) : boolean |
Checks if this node has a suppressed annotation for the given rule
instance. |
|
isAbstract ( ) : boolean |
Returns true when the underlying method is declared as abstract or
is declared as child of an interface. |
|
isDeclaration ( ) : boolean |
Returns true when this method is the initial method declaration. |
|