public final class NominalType
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
java.util.Set<java.lang.String> |
getAllNonInheritedInstanceProps() |
java.util.Set<java.lang.String> |
getAllNonInheritedProps() |
FunctionType |
getConstructorFunction() |
Node |
getDefSite() |
RawNominalType |
getId() |
JSType |
getInstanceAsJSType() |
com.google.common.collect.ImmutableSet<NominalType> |
getInstantiatedInterfaces() |
NominalType |
getInstantiatedSuperclass()
Use with caution during GlobalTypeInfo; if some types are not known/resolved,
the instantiation may be wrong.
|
java.lang.String |
getName() |
JSType |
getNamespaceType() |
JSType |
getPropDeclaredType(java.lang.String pname) |
JSDocInfo |
getPropertyJsdoc(java.lang.String pname) |
com.google.common.collect.ImmutableSet<java.lang.String> |
getPropertyNames() |
JSType |
getPrototypeObject() |
RawNominalType |
getRawNominalType()
Use with caution.
|
boolean |
hasAbstractMethod(java.lang.String pname) |
boolean |
hasConstantProp(java.lang.String pname) |
int |
hashCode() |
boolean |
isAbstractClass() |
boolean |
isBuiltinObject() |
boolean |
isClass() |
boolean |
isDict() |
boolean |
isFrozen() |
boolean |
isFunction() |
boolean |
isGeneric() |
boolean |
isInterface() |
boolean |
isLiteralObject() |
boolean |
isStruct() |
boolean |
isUninstantiatedGenericType() |
java.lang.String |
toString() |
public RawNominalType getRawNominalType()
public JSType getNamespaceType()
public JSType getInstanceAsJSType()
public boolean isFunction()
public boolean isBuiltinObject()
public boolean isLiteralObject()
public boolean isStruct()
public boolean isDict()
public boolean isGeneric()
public boolean isUninstantiatedGenericType()
public Node getDefSite()
public JSType getPrototypeObject()
public FunctionType getConstructorFunction()
public java.lang.String getName()
public RawNominalType getId()
public boolean isClass()
public boolean isAbstractClass()
public boolean isInterface()
public boolean isFrozen()
public com.google.common.collect.ImmutableSet<java.lang.String> getPropertyNames()
public java.util.Set<java.lang.String> getAllNonInheritedProps()
public java.util.Set<java.lang.String> getAllNonInheritedInstanceProps()
public NominalType getInstantiatedSuperclass()
public com.google.common.collect.ImmutableSet<NominalType> getInstantiatedInterfaces()
public JSDocInfo getPropertyJsdoc(java.lang.String pname)
public JSType getPropDeclaredType(java.lang.String pname)
public boolean hasConstantProp(java.lang.String pname)
public boolean hasAbstractMethod(java.lang.String pname)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.ObjectCopyright © 2009-2018 Google. All Rights Reserved.