java.lang.Object
io.helidon.codegen.classmodel.Executable
io.helidon.codegen.classmodel.Method
Model of the method which should be created in the specific type.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionAccess modifier of this component.List of annotations on this component.static Method.Builder
builder()
Create newMethod.Builder
instance.Description (javadoc) of this component.boolean
int
hashCode()
boolean
Is this an abstract method.boolean
Is this a default method (of an interface).boolean
isFinal()
Is this a final method.boolean
isStatic()
Is this a static method.name()
Name of this component.toString()
typeName()
Type name of this component.Methods inherited from class io.helidon.codegen.classmodel.Executable
exceptions, parameters
-
Method Details
-
builder
Create newMethod.Builder
instance.- Returns:
- new builder instance
-
isStatic
public boolean isStatic()Is this a static method.- Returns:
- whether this method is static
-
isFinal
public boolean isFinal()Is this a final method.- Returns:
- whether this method is final
-
isAbstract
public boolean isAbstract()Is this an abstract method.- Returns:
- whether this method is abstract
-
isDefault
public boolean isDefault()Is this a default method (of an interface).- Returns:
- whether this method is default
-
equals
-
hashCode
public int hashCode() -
toString
-
annotations
List of annotations on this component.- Returns:
- annotations
-
name
Name of this component.- Returns:
- component name
-
accessModifier
Access modifier of this component.- Returns:
- access modifier
-
description
Description (javadoc) of this component.- Returns:
- description lines
-
typeName
Type name of this component.- Returns:
- type name
-