|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpolyglot.ext.jl.types.TypeObject_c
polyglot.ext.jl.types.InitializerInstance_c
public class InitializerInstance_c
A InitializerInstance contains the type information for a
static or anonymous initializer.
| Field Summary | |
|---|---|
protected ClassType |
container
|
protected Flags |
flags
|
| Fields inherited from class polyglot.ext.jl.types.TypeObject_c |
|---|
position, ts |
| Constructor Summary | |
|---|---|
protected |
InitializerInstance_c()
Used for deserializing types. |
|
InitializerInstance_c(TypeSystem ts,
Position pos,
ClassType container,
Flags flags)
|
| Method Summary | |
|---|---|
ReferenceType |
container()
Return the member's containing type. |
InitializerInstance |
container(ClassType container)
Set the initializer's containing class. |
boolean |
equalsImpl(TypeObject o)
Default implementation is pointer equality. |
Flags |
flags()
Return the member's flags. |
InitializerInstance |
flags(Flags flags)
Set the initializer's flags. |
int |
hashCode()
|
boolean |
isCanonical()
Return true if the type object contains no unknown/ambiguous types. |
java.lang.String |
toString()
|
| Methods inherited from class polyglot.ext.jl.types.TypeObject_c |
|---|
copy, equals, position, typeSystem |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface polyglot.types.TypeObject |
|---|
position, typeSystem |
| Methods inherited from interface polyglot.util.Copy |
|---|
copy |
| Field Detail |
|---|
protected ClassType container
protected Flags flags
| Constructor Detail |
|---|
protected InitializerInstance_c()
public InitializerInstance_c(TypeSystem ts,
Position pos,
ClassType container,
Flags flags)
| Method Detail |
|---|
public ReferenceType container()
MemberInstance
container in interface MemberInstancepublic InitializerInstance container(ClassType container)
InitializerInstance
container in interface InitializerInstancepublic Flags flags()
MemberInstance
flags in interface MemberInstancepublic InitializerInstance flags(Flags flags)
InitializerInstance
flags in interface InitializerInstancepublic int hashCode()
hashCode in class TypeObject_cpublic boolean equalsImpl(TypeObject o)
TypeObject_c
equalsImpl in interface TypeObjectequalsImpl in class TypeObject_cTypeObject_c.equalsImpl(TypeObject),
Object.hashCode()public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isCanonical()
TypeObject
isCanonical in interface TypeObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||