public enum Scope extends Enum<Scope>
列挙型定数と説明 |
---|
HIERARCHY
Look for constraints declared on all elements of the class hierarchy
with the same name.
|
LOCAL_ELEMENT
Look for constraints declared on the current class element
and ignore inheritance and elements with the same name in
the class hierarchy.
|
public static final Scope LOCAL_ELEMENT
public static final Scope HIERARCHY
public static Scope[] values()
for(Scope c: Scope.values()) System.out.println(c);
public static Scope valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合Copyright © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.