Package ch.raffael.meldioc.model.config
Class ModelAnnotationType
java.lang.Object
ch.raffael.meldioc.model.config.ModelAnnotationType
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.vavr.collection.Set<ModelAnnotationType>all()abstract Class<? extends Annotation>io.vavr.collection.Map<String,AnnotationAttribute> booleanbooleanbooleanmodifier()static <A extends Annotation>
ModelAnnotationTypebooleanonClass()booleanbooleanbooleanonMethod()booleanrole()booleanbooleanbooleanwithAnnotationType(Class<? extends Annotation> value) Copy the current immutable object by setting a value for theannotationTypeattribute.withAuxiliaryRole(boolean value) Copy the current immutable object by setting a value for theauxiliaryRoleattribute.withFeatureRole(boolean value) Copy the current immutable object by setting a value for thefeatureRoleattribute.withOnClass(boolean value) Copy the current immutable object by setting a value for theonClassattribute.withOnImplements(boolean value) Copy the current immutable object by setting a value for theonImplementsattribute.withOnInterface(boolean value) Copy the current immutable object by setting a value for theonInterfaceattribute.withOnMethod(boolean value) Copy the current immutable object by setting a value for theonMethodattribute.withRole(boolean value) Copy the current immutable object by setting a value for theroleattribute.withSupportsParameters(boolean value) Copy the current immutable object by setting a value for thesupportsParametersattribute.withWillDecorate(boolean value) Copy the current immutable object by setting a value for thewillDecorateattribute.withWillImplement(boolean value) Copy the current immutable object by setting a value for thewillImplementattribute.
-
Method Details
-
all
-
of
-
annotationType
-
attributes
-
displayName
-
role
@Default public boolean role() -
modifier
public boolean modifier() -
auxiliaryRole
@Default public boolean auxiliaryRole() -
featureRole
@Default public boolean featureRole() -
onMethod
@Default public boolean onMethod() -
onClass
@Default public boolean onClass() -
onInterface
@Default public boolean onInterface() -
onImplements
@Default public boolean onImplements() -
supportsParameters
@Default public boolean supportsParameters() -
willDecorate
@Default public boolean willDecorate() -
willImplement
@Default public boolean willImplement() -
withAnnotationType
Copy the current immutable object by setting a value for theannotationTypeattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for annotationType- Returns:
- A modified copy of the
thisobject
-
withRole
Copy the current immutable object by setting a value for theroleattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for role- Returns:
- A modified copy of the
thisobject
-
withAuxiliaryRole
Copy the current immutable object by setting a value for theauxiliaryRoleattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for auxiliaryRole- Returns:
- A modified copy of the
thisobject
-
withFeatureRole
Copy the current immutable object by setting a value for thefeatureRoleattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for featureRole- Returns:
- A modified copy of the
thisobject
-
withOnMethod
Copy the current immutable object by setting a value for theonMethodattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for onMethod- Returns:
- A modified copy of the
thisobject
-
withOnClass
Copy the current immutable object by setting a value for theonClassattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for onClass- Returns:
- A modified copy of the
thisobject
-
withOnInterface
Copy the current immutable object by setting a value for theonInterfaceattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for onInterface- Returns:
- A modified copy of the
thisobject
-
withOnImplements
Copy the current immutable object by setting a value for theonImplementsattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for onImplements- Returns:
- A modified copy of the
thisobject
-
withSupportsParameters
Copy the current immutable object by setting a value for thesupportsParametersattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for supportsParameters- Returns:
- A modified copy of the
thisobject
-
withWillDecorate
Copy the current immutable object by setting a value for thewillDecorateattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for willDecorate- Returns:
- A modified copy of the
thisobject
-
withWillImplement
Copy the current immutable object by setting a value for thewillImplementattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for willImplement- Returns:
- A modified copy of the
thisobject
-