|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<BoundTypeArgumentSource> org.eclipse.xtext.xbase.typesystem.util.BoundTypeArgumentSource
public enum BoundTypeArgumentSource
Enum Constant Summary | |
---|---|
CONSTRAINT
public |
|
EXPECTATION
public |
|
EXPLICIT
public |
|
INFERRED
public |
|
INFERRED_CONSTRAINT
CharIterable |
|
INFERRED_LATER
public |
Method Summary | |
---|---|
static BoundTypeArgumentSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BoundTypeArgumentSource[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final BoundTypeArgumentSource EXPLICIT
publicvoid method(List extends T> list) { List someList = .. this. method(someList); }
public static final BoundTypeArgumentSource CONSTRAINT
publicvoid method() { this.method(); }
public static final BoundTypeArgumentSource INFERRED_CONSTRAINT
CharIterableextends Iterable {} public void method(CharIterable ) { this.method(); }
public static final BoundTypeArgumentSource INFERRED_LATER
publicList createList(T... elements) {} val list = createList() // list list.add('string') // bind T to String
public static final BoundTypeArgumentSource EXPECTATION
publicT method() { String s = method(); }
public static final BoundTypeArgumentSource INFERRED
publicvoid method(List list) { List someList = .. this.method(someList); }
Method Detail |
---|
public static final BoundTypeArgumentSource[] values()
for(BoundTypeArgumentSource c : BoundTypeArgumentSource.values()) System.out.println(c);
public static BoundTypeArgumentSource valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |