@Exported public static enum MemberReferenceTree.ReferenceMode extends Enum<MemberReferenceTree.ReferenceMode>
Enum Constant and Description |
---|
INVOKE
enum constant for method references
|
NEW
enum constant for constructor references
|
Modifier and Type | Method and Description |
---|---|
static MemberReferenceTree.ReferenceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberReferenceTree.ReferenceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemberReferenceTree.ReferenceMode INVOKE
public static final MemberReferenceTree.ReferenceMode NEW
public static MemberReferenceTree.ReferenceMode[] values()
for (MemberReferenceTree.ReferenceMode c : MemberReferenceTree.ReferenceMode.values()) System.out.println(c);
public static MemberReferenceTree.ReferenceMode 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 null
Copyright © 2005, 2018, Oracle and/or its affiliates. All rights reserved.