-
- All Superinterfaces:
ClassModifier<Class>,ClassOrInterface<Class>,HasAnnotationUsage<Class>,HasCall<Class>,HasClasses<Class>,HasConstructors<Class>,HasCopy<Class>,HasFields<Class>,HasGenerics<Class>,HasImplements<Class>,HasImports<Class>,HasInitializers<Class>,HasJavadoc<Class>,HasMethods<Class>,HasModifiers<Class>,HasName<Class>,HasParent<HasClasses<?>,Class>,HasSupertype<Class>
public interface Class extends ClassOrInterface<Class>, HasConstructors<Class>, HasSupertype<Class>, ClassModifier<Class>
A model that represents a class in code.- Since:
- 2.0
- Author:
- Emil Forslund
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default Tabstract_()Adds theabstractkeyword to this model.default Tfinal_()Adds thefinalkeyword to this model.default TnotAbstract()Removes theabstractkeyword from this model.default TnotFinal()Removes thefinalkeyword from this model.default TnotPrivate()Removes theprivatekeyword from this model.default TnotProtected()Removes theprotectedkeyword from this model.default TnotPublic()Removes thepublickeyword from this model.default TnotStatic()Removes thestatickeyword from this model.default TnotStrictfp()Removes thestrictfpkeyword from this model.static Classof(String name)Creates a new instance implementing this interface by using the default implementation.default Tprivate_()Adds theprivatekeyword to this model.default Tprotected_()Adds theprotectedkeyword to this model.default Tpublic_()Adds thepublickeyword to this model.default Tstatic_()Adds thestatickeyword to this model.default Tstrictfp_()Adds thestrictfpkeyword 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.HasClasses
add, addAllClasses, getClasses
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasConstructors
add, getConstructors
-
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.HasImplements
add, getInterfaces, implement, implement, implement
-
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.HasInitializers
add, getInitializers
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasJavadoc
getJavadoc, javadoc, set
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasMethods
add, getMethods
-
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.HasSupertype
extend, extend, extend, getSupertype, setSupertype
-
-
-
-
Method Detail
-
of
static Class of(String name)
Creates a new instance implementing this interface by using the default implementation.- Parameters:
name- the name- Returns:
- the new instance
-
public_
default T public_()
Adds thepublickeyword to this model.- Returns:
- a reference to this model
-
notPublic
default T notPublic()
Removes thepublickeyword from this model.- Returns:
- a reference to this model
-
protected_
default T protected_()
Adds theprotectedkeyword to this model.- Returns:
- a reference to this model
-
notProtected
default T notProtected()
Removes theprotectedkeyword from this model.- Returns:
- a reference to this model
-
private_
default T private_()
Adds theprivatekeyword to this model.- Returns:
- a reference to this model
-
notPrivate
default T notPrivate()
Removes theprivatekeyword from this model.- Returns:
- a reference to this model
-
abstract_
default T abstract_()
Adds theabstractkeyword to this model.- Returns:
- a reference to this model
-
notAbstract
default T notAbstract()
Removes theabstractkeyword from this model.- Returns:
- a reference to this model
-
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
-
final_
default T final_()
Adds thefinalkeyword to this model.- Returns:
- a reference to this model
-
notFinal
default T notFinal()
Removes thefinalkeyword from this model.- Returns:
- a reference to this model
-
strictfp_
default T strictfp_()
Adds thestrictfpkeyword to this model.- Returns:
- a reference to this model
-
notStrictfp
default T notStrictfp()
Removes thestrictfpkeyword from this model.- Returns:
- a reference to this model
-
-