@Repeatable(value=GenerateRefinements.class) @Retention(value=SOURCE) @Target(value=TYPE) public @interface GenerateRefinement
Modifier and Type | Required Element and Description |
---|---|
String |
name
The name of the to-be-generated refinement.
|
Modifier and Type | Optional Element and Description |
---|---|
String[] |
generics
The type variables the refinement should have.
|
Interface[] |
interfaces
An array of additional interfaces the refinement should implement.
|
Map[] |
parameterMapping
A mapping of specializations of parameter types for the refinement's constructor parameters.
|
Generic[] |
parentGenerics
The values for the generics of the parent (i.e. the class annotated by
this annotation) class. |
public abstract String name
public abstract String[] generics
public abstract Generic[] parentGenerics
this
annotation) class.public abstract Map[] parameterMapping
public abstract Interface[] interfaces
Copyright © 2020. All rights reserved.