- All Superinterfaces:
OVLAbstractMemberDefinition
- All Known Subinterfaces:
OVLConstructorDefinition
,OVLMethodDefinition
public interface OVLAbstractInvokableDefinition extends OVLAbstractMemberDefinition
This interface represents invokeable members of an OVL type.
- Since:
- Omix 1.3.11
- Author:
- Dr. Peter Droste, Omix Visualization
-
Method Summary
Modifier and Type Method Description Collection<? extends OVLCompilerMessage>
getErrorMessages()
Returns a list of errors from the OVL Compiler occurred during the compilation.ClassType[]
getExceptionTypes()
Returns the types of exceptions thrown by the invokable.AbstractOVLType
getOwner()
Owner class of the memberOVLParameterDefinition[]
getParameters()
Returns the parameters of the invokable.ClassType[]
getParameterTypes()
Returns the types of the parameters.ClassType
getType()
Type of this memberCollection<? extends OVLCompilerMessage>
getWarnings()
Returns a list of warnings from the OVL Compiler occurred during the compilation.boolean
isValid()
Returnstrue
if this method/constructor is valid.Methods inherited from interface omix.plugin.ovl.OVLAbstractMemberDefinition
getAnnotation, getAnnotations, getName, isAnnotationPresent
-
Method Details
-
getType
ClassType getType()Type of this member- Returns:
- type
-
getOwner
AbstractOVLType getOwner()Owner class of the member- Returns:
- owner
-
isValid
boolean isValid()Returnstrue
if this method/constructor is valid. If the method/constructor contains errors, it is invalid.- Returns:
- is valid?
-
getParameterTypes
ClassType[] getParameterTypes()Returns the types of the parameters.- Returns:
- parameter types
-
getExceptionTypes
ClassType[] getExceptionTypes()Returns the types of exceptions thrown by the invokable.- Returns:
- exception types
-
getParameters
OVLParameterDefinition[] getParameters()Returns the parameters of the invokable.- Returns:
- parameters
-
getErrorMessages
Collection<? extends OVLCompilerMessage> getErrorMessages()Returns a list of errors from the OVL Compiler occurred during the compilation.- Returns:
- errors
-
getWarnings
Collection<? extends OVLCompilerMessage> getWarnings()Returns a list of warnings from the OVL Compiler occurred during the compilation.- Returns:
- warnings
-