Package com.sap.cds.reflect
Interface CdsFunction
- All Superinterfaces:
CdsAnnotatable
,CdsDefinition
,CdsNamed
,CdsOperation
- All Known Subinterfaces:
CdsBoundFunction
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
accept
(CdsVisitor visitor) Accepts aCdsVisitor
visiting the elements of this definition (depth-first)default CdsKind
getKind()
Returns the kind of this definition.default CdsType
Returns the return type of thisCdsFunction
.Methods inherited from interface com.sap.cds.reflect.CdsAnnotatable
annotations, findAnnotation, getAnnotationValue, getDoc
Methods inherited from interface com.sap.cds.reflect.CdsDefinition
as, getKey, getName, getQualifiedName, getQualifier
Methods inherited from interface com.sap.cds.reflect.CdsOperation
parameters, returnType
-
Method Details
-
getReturnType
Returns the return type of thisCdsFunction
.- Returns:
- the return type of this function, not
null
-
getKind
Description copied from interface:CdsDefinition
Returns the kind of this definition.- Specified by:
getKind
in interfaceCdsDefinition
- Returns:
- the kind of this definition
-
accept
Description copied from interface:CdsDefinition
Accepts aCdsVisitor
visiting the elements of this definition (depth-first)- Specified by:
accept
in interfaceCdsDefinition
- Parameters:
visitor
- theCdsVisitor
-