public class ObjectType extends Object
Modifier and Type | Method and Description |
---|---|
StringBuilder |
appendTo(StringBuilder builder) |
boolean |
equals(Object o) |
static ObjectType |
fromNominalType(NominalType cl) |
JSType |
getDeclaredProp(QualifiedName qname)
Get the declared type of the given property
|
JSType |
getProp(QualifiedName qname)
Get the inferred type of the given property
|
boolean |
hasConstantProp(QualifiedName qname)
Return whether this type contains a constant property
|
int |
hashCode() |
boolean |
hasProp(QualifiedName qname)
Return whether this type contains a required property
|
boolean |
mayHaveProp(QualifiedName qname)
Return whether this type contains any form of property
|
String |
toString() |
public static ObjectType fromNominalType(NominalType cl)
public JSType getProp(QualifiedName qname)
public JSType getDeclaredProp(QualifiedName qname)
public boolean mayHaveProp(QualifiedName qname)
public boolean hasProp(QualifiedName qname)
public boolean hasConstantProp(QualifiedName qname)
public StringBuilder appendTo(StringBuilder builder)
Copyright © 2009–2014 Google. All rights reserved.