Package | Description |
---|---|
com.speedment.codegen.model |
Models for typical object-oriented language building blocks are located in
this package.
|
com.speedment.codegen.model.trait |
Common traits used by the codegen models located in the
com.speedment.codegen.lang.model package. |
Modifier and Type | Method and Description |
---|---|
static Method |
Method.of(String name,
Type type)
Creates a new instance implementing this interface by using the class
supplied by the default factory.
|
Modifier and Type | Method and Description |
---|---|
static InterfaceMethod |
InterfaceMethod.of(Method wrapped)
Creates a new instance implementing this interface by wrapping an existing
Method in an InterfaceMethodImpl . |
Modifier and Type | Method and Description |
---|---|
static void |
Method.setMapper(BiFunction<String,Type,Method> mapper)
Sets the instantiation method used to create new instances of this
interface.
|
Modifier and Type | Method and Description |
---|---|
List<Method> |
HasMethods.getMethods()
Returns a list of all methods in this model.
|
Modifier and Type | Method and Description |
---|---|
default T |
HasMethods.add(Method meth)
Adds the specified
Method to this model. |
Copyright © 2016 Speedment, Inc.. All rights reserved.