public interface TypeI
| Modifier and Type | Method and Description |
|---|---|
TypeI |
autobox() |
ObjectTypeI |
autoboxAndGetObject() |
boolean |
containsArray() |
String |
getDisplayName() |
TypeI |
getEnumeratedTypeOfEnumElement() |
TypeI |
getGreatestSubtypeWithProperty(String propName) |
JSDocInfo |
getJSDocInfo() |
Iterable<? extends TypeI> |
getUnionMembers()
If this type is a union type, returns a list of its members.
|
boolean |
isBottom() |
boolean |
isBoxableScalar() |
boolean |
isConstructor() |
boolean |
isEnumElement() |
boolean |
isEnumObject() |
boolean |
isEquivalentTo(TypeI type) |
boolean |
isFunctionType() |
boolean |
isInstanceofObject() |
boolean |
isInterface() |
boolean |
isNullable() |
boolean |
isNullType() |
boolean |
isObjectType() |
boolean |
isPrototypeObject() |
boolean |
isSomeUnknownType() |
boolean |
isStructuralInterface() |
boolean |
isSubtypeOf(TypeI type) |
boolean |
isTop() |
boolean |
isTypeVariable() |
boolean |
isUnionType() |
boolean |
isUnknownType() |
boolean |
isUnresolved() |
boolean |
isUnresolvedOrResolvedUnknown() |
boolean |
isVoidable() |
boolean |
isVoidType() |
TypeI |
meetWith(TypeI other) |
TypeI |
restrictByNotNullOrUndefined()
If this is a union type, returns a union type that does not include
the null or undefined type.
|
FunctionTypeI |
toMaybeFunctionType()
Downcasts this to a FunctionTypeI, or returns null if this is not
a function.
|
ObjectTypeI |
toMaybeObjectType()
If this type is a single object, downcast it to ObjectTypeI.
|
boolean isBottom()
boolean isTop()
boolean isTypeVariable()
boolean isUnresolved()
boolean isBoxableScalar()
TypeI autobox()
boolean isUnresolvedOrResolvedUnknown()
boolean isConstructor()
boolean isEquivalentTo(TypeI type)
boolean isFunctionType()
boolean isInterface()
boolean isStructuralInterface()
boolean isSubtypeOf(TypeI type)
boolean containsArray()
boolean isUnknownType()
boolean isSomeUnknownType()
boolean isObjectType()
boolean isUnionType()
boolean isNullable()
boolean isVoidable()
boolean isNullType()
boolean isVoidType()
boolean isPrototypeObject()
boolean isInstanceofObject()
boolean isEnumElement()
ObjectTypeI autoboxAndGetObject()
JSDocInfo getJSDocInfo()
TypeI restrictByNotNullOrUndefined()
FunctionTypeI toMaybeFunctionType()
ObjectTypeI toMaybeObjectType()
Iterable<? extends TypeI> getUnionMembers()
String getDisplayName()
TypeI getEnumeratedTypeOfEnumElement()
boolean isEnumObject()
Copyright © 2009-2017 Google. All Rights Reserved.