public enum InjectionStrategy extends Enum<InjectionStrategy>
Enum Constant and Description |
---|
CONSTRUCTOR
Annotations are written on the constructor
|
FIELD
Annotations are written on the field
|
Modifier and Type | Method and Description |
---|---|
static InjectionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InjectionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InjectionStrategy FIELD
public static final InjectionStrategy CONSTRUCTOR
public static InjectionStrategy[] values()
for (InjectionStrategy c : InjectionStrategy.values()) System.out.println(c);
public static InjectionStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.