|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.rebind.rpc.TypeConstrainer
public class TypeConstrainer
This class defines the method
constrainTypeBy(JClassType, JClassType).
| Constructor Summary | |
|---|---|
TypeConstrainer(TypeOracle typeOracle)
|
|
| Method Summary | |
|---|---|
JClassType |
constrainTypeBy(JClassType subType,
JClassType superType)
Return a subtype of subType that includes all values in both
subType and superType. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeConstrainer(TypeOracle typeOracle)
| Method Detail |
|---|
public JClassType constrainTypeBy(JClassType subType,
JClassType superType)
subType that includes all values in both
subType and superType. The returned type
must have the same base type as subType. If there are
definitely no such values, return null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||