@ParametersAreNonnullByDefault
Package org.sonar.plugins.php.api.tree.declaration
-
Interface Summary Interface Description AttributeGroupTree AttributeTree BuiltInTypeTree CallArgumentTree ClassDeclarationTree ClassMemberTree This interface represents class statement, which can be:Method declarationClass variable declarationTrait use statementClassPropertyDeclarationTree Class PropertiesClassTree Common interface forClassDeclarationTreeandAnonymousClassTreeConstantDeclarationTree Constants declarationDeclaredTypeTree Either aTypeTreeor aUnionTypeTreeFunctionDeclarationTree FunctionTree Common interface for all kinds of function.HasAttributes MethodDeclarationTree Class MethodsNamespaceNameTree Namespace name Unqualified name: this is an identifier without a namespace separator, such as Foo Qualified name: this is an identifier with a namespace separator, such as Foo\Bar Fully qualified name: this is an identifier with a namespace separator that begins with a namespace separator, such as \Foo\Bar.ParameterListTree Function parameters ListParameterTree ReturnTypeClauseTree ReturnTypeClauseTree is an optional element of function declarationTypeNameTree This interface represents type clause (appearing in function return type, parameter type or class property type (since PHP 7.4), which can be:Tree.Kind.BUILT_IN_TYPEseeBuiltInTypeTreeTree.Kind.NAMESPACE_NAMEfor custom class or interface typeTypeTree This interface represents type clause (appearing in function return type or parameter type), possibly prefixed with a?which stands for "optional".UnionTypeTree VariableDeclarationTree Variable Declaration