Module com.speedment.common.codegen
Interface InterfaceMethod
-
- All Superinterfaces:
HasAnnotationUsage<InterfaceMethod>,HasCode<InterfaceMethod>,HasCopy<InterfaceMethod>,HasFields<InterfaceMethod>,HasGenerics<InterfaceMethod>,HasImports<InterfaceMethod>,HasJavadoc<InterfaceMethod>,HasModifiers<InterfaceMethod>,HasName<InterfaceMethod>,HasParent<Interface,InterfaceMethod>,HasThrows<InterfaceMethod>,HasType<InterfaceMethod>,InterfaceMethodModifier<InterfaceMethod>
public interface InterfaceMethod extends HasParent<Interface,InterfaceMethod>, HasImports<InterfaceMethod>, HasName<InterfaceMethod>, HasThrows<InterfaceMethod>, HasType<InterfaceMethod>, HasGenerics<InterfaceMethod>, HasFields<InterfaceMethod>, HasJavadoc<InterfaceMethod>, HasAnnotationUsage<InterfaceMethod>, HasCode<InterfaceMethod>, InterfaceMethodModifier<InterfaceMethod>, HasCopy<InterfaceMethod>
A model that represents a method of an interface in code.- Since:
- 2.0
- Author:
- Emil Forslund
- See Also:
Interface
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default Tdefault_()Adds thedefaultkeyword to this model.default TnotDefault()Removes thedefaultkeyword from this model.default TnotStatic()Removes thestatickeyword from this model.static InterfaceMethodof(Method wrapped)Creates a new instance implementing this interface by wrapping an existingMethodin anInterfaceMethodImpl.default Tstatic_()Adds thestatickeyword to this model.-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasAnnotationUsage
add, annotate, annotate, annotate, getAnnotations
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasCode
add, add, add, getCode
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasFields
add, addAllFields, constant, constant, constant, constant, field, field, getFields
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasGenerics
add, generic, generic, generic, generic, getGenerics
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasImports
add, getImports, imports, imports, imports
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasJavadoc
getJavadoc, javadoc, set
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasModifiers
getModifiers
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasParent
getParent, setParent
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasThrows
add, getExceptions, throwing
-
-
-
-
Method Detail
-
of
static InterfaceMethod of(Method wrapped)
Creates a new instance implementing this interface by wrapping an existingMethodin anInterfaceMethodImpl.- Parameters:
wrapped- the wrapped method- Returns:
- the new instance
-
static_
default T static_()
Adds thestatickeyword to this model.- Returns:
- a reference to this model
-
notStatic
default T notStatic()
Removes thestatickeyword from this model.- Returns:
- a reference to this model
-
default_
default T default_()
Adds thedefaultkeyword to this model.- Returns:
- a reference to this model
-
notDefault
default T notDefault()
Removes thedefaultkeyword from this model.- Returns:
- a reference to this model
-
-