public static enum Advice.OffsetMapping.Factory.AdviceType extends Enum<Advice.OffsetMapping.Factory.AdviceType>
Enum Constant and Description |
---|
DELEGATION
Indicates advice where the invocation is delegated.
|
INLINING
Indicates advice where the invocation's code is copied into the target method.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDelegation()
Returns
true if delegation is used. |
static Advice.OffsetMapping.Factory.AdviceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Advice.OffsetMapping.Factory.AdviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Advice.OffsetMapping.Factory.AdviceType DELEGATION
public static final Advice.OffsetMapping.Factory.AdviceType INLINING
public static Advice.OffsetMapping.Factory.AdviceType[] values()
for (Advice.OffsetMapping.Factory.AdviceType c : Advice.OffsetMapping.Factory.AdviceType.values()) System.out.println(c);
public static Advice.OffsetMapping.Factory.AdviceType 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 nullpublic boolean isDelegation()
true
if delegation is used.true
if delegation is used.Copyright © 2014–2020. All rights reserved.