public enum MethodManifestation extends Enum<MethodManifestation> implements ModifierContributor.ForMethod
abstract
method must never be static and can only be declared for an
abstract
type.ModifierContributor.ForField, ModifierContributor.ForMethod, ModifierContributor.ForType
Enum Constant and Description |
---|
ABSTRACT |
FINAL |
FINAL_NATIVE |
NATIVE |
PLAIN |
Modifier and Type | Field and Description |
---|---|
static int |
ABSTRACTION_MASK
A mask for checking if a method implementation is not implemented in byte code.
|
EMPTY_MASK
Modifier and Type | Method and Description |
---|---|
int |
getMask()
Returns the mask of this modifier.
|
static MethodManifestation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodManifestation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodManifestation PLAIN
public static final MethodManifestation NATIVE
public static final MethodManifestation ABSTRACT
public static final MethodManifestation FINAL
public static final MethodManifestation FINAL_NATIVE
public static final int ABSTRACTION_MASK
public static MethodManifestation[] values()
for (MethodManifestation c : MethodManifestation.values()) System.out.println(c);
public static MethodManifestation 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 int getMask()
ModifierContributor
getMask
in interface ModifierContributor
Copyright © 2014. All rights reserved.