Serializable
, Comparable<MemberReferenceTree.ReferenceMode>
public static enum MemberReferenceTree.ReferenceMode extends Enum<MemberReferenceTree.ReferenceMode>
Enum Constant | Description |
---|---|
INVOKE |
enum constant for method references.
|
NEW |
enum constant for constructor references.
|
Modifier and Type | Method | 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 Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1