|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpolyglot.types.TypeObject_c
polyglot.types.Type_c
polyglot.types.ReferenceType_c
polyglot.types.ClassType_c
polyglot.types.ParsedClassType_c
jif.types.JifParsedPolyType_c
public class JifParsedPolyType_c
An implementation of the JifParsedPolyType interface.
| Field Summary |
|---|
| Fields inherited from class polyglot.types.ParsedClassType_c |
|---|
constructors, fields, flags, fromSource, init, inStaticContext, interfaces, job, kind, memberClasses, membersAdded, methods, name, needSerialization, outer, package_, signaturesResolved, superType, supertypesResolved |
| Fields inherited from class polyglot.types.ClassType_c |
|---|
decl, memberCache |
| Fields inherited from class polyglot.types.TypeObject_c |
|---|
position, ts |
| Constructor Summary | |
|---|---|
protected |
JifParsedPolyType_c()
|
|
JifParsedPolyType_c(JifTypeSystem ts,
polyglot.types.LazyClassInitializer init,
polyglot.frontend.Source fromSource)
|
| Method Summary | |
|---|---|
java.util.List |
actuals()
Returns a list of Params, being the parameters with which
this class is instantiated. |
void |
addMemberClass(polyglot.types.ClassType t)
|
java.util.List |
authority()
The principals that grant authority to objects of this class, that is, the principals listed in the authority clause. |
java.util.List |
constructorCallAuthority()
The principals whose authority is required by the context that creates a new instance of this class. |
boolean |
equalsImpl(polyglot.types.TypeObject o)
|
java.util.List |
fields()
|
int |
hashCode()
|
polyglot.ext.param.types.PClass |
instantiatedFrom()
|
void |
kind(polyglot.types.ClassType.Kind kind)
|
java.util.List |
params()
Declared parameters of the class. |
void |
setAuthority(java.util.List principals)
|
void |
setInstantiatedFrom(polyglot.ext.param.types.PClass pc)
|
void |
setParams(java.util.List params)
|
ThisLabel |
thisLabel()
Returns this class's "this" label. |
java.lang.String |
toString()
|
| Methods inherited from class polyglot.types.ParsedClassType_c |
|---|
addConstructor, addField, addInterface, addMethod, constructors, defaultConstructorNeeded, fieldNamed, flags, flags, fromSource, init, initializer, inStaticContext, inStaticContext, interfaces, job, kind, memberClasses, membersAdded, methods, methodsNamed, name, name, needSerialization, needSerialization, numSignaturesUnresolved, outer, outer, package_, package_, position, setConstructors, setContainer, setFields, setFlags, setInit, setInitializer, setInterfaces, setJob, setMemberClasses, setMembersAdded, setMethods, setSignaturesResolved, setSupertypesResolved, signaturesResolved, superType, superType, supertypesResolved |
| Methods inherited from class polyglot.types.ClassType_c |
|---|
container, copy, declaration, descendsFromImpl, fullName, hasEnclosingInstance, hasEnclosingInstanceImpl, isAnonymous, isCanonical, isCastValidImpl, isClass, isEnclosed, isEnclosedImpl, isImplicitCastValidImpl, isInner, isInnerClass, isLocal, isMember, isNested, isThrowable, isTopLevel, isUncheckedException, memberClassNamed, members, print, resolver, setDeclaration, toClass, translate |
| Methods inherited from class polyglot.types.ReferenceType_c |
|---|
hasMethod, hasMethodImpl, isReference, methods, toReference |
| Methods inherited from class polyglot.types.Type_c |
|---|
arrayOf, arrayOf, descendsFrom, isArray, isBoolean, isByte, isCastValid, isChar, isComparable, isDouble, isFloat, isImplicitCastValid, isInt, isIntOrLess, isLong, isLongOrLess, isNull, isNumeric, isPackage, isPrimitive, isShort, isSubtype, isSubtypeImpl, isType, isVoid, numericConversionValid, numericConversionValid, numericConversionValidImpl, numericConversionValidImpl, toArray, toNull, toPackage, toPrimitive, toType, typeEquals, typeEqualsImpl |
| Methods inherited from class polyglot.types.TypeObject_c |
|---|
equals, position, typeSystem |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface polyglot.types.ParsedClassType |
|---|
addConstructor, addField, addInterface, addMethod, defaultConstructorNeeded, flags, fromSource, inStaticContext, membersAdded, name, needSerialization, needSerialization, numSignaturesUnresolved, outer, package_, position, setConstructors, setFields, setInterfaces, setJob, setMemberClasses, setMembersAdded, setMethods, setSignaturesResolved, setSupertypesResolved, signaturesResolved, superType, supertypesResolved |
| Methods inherited from interface polyglot.types.ParsedTypeObject |
|---|
initializer, job, setInitializer |
| Constructor Detail |
|---|
protected JifParsedPolyType_c()
public JifParsedPolyType_c(JifTypeSystem ts,
polyglot.types.LazyClassInitializer init,
polyglot.frontend.Source fromSource)
| Method Detail |
|---|
public polyglot.ext.param.types.PClass instantiatedFrom()
instantiatedFrom in interface polyglot.ext.param.types.InstTypepublic void setInstantiatedFrom(polyglot.ext.param.types.PClass pc)
setInstantiatedFrom in interface JifParsedPolyTypepublic void kind(polyglot.types.ClassType.Kind kind)
kind in interface polyglot.types.ParsedClassTypekind in class polyglot.types.ParsedClassType_cpublic java.util.List fields()
fields in interface polyglot.types.ReferenceTypefields in class polyglot.types.ParsedClassType_cpublic java.util.List authority()
JifClassType
authority in interface JifClassTypepublic java.util.List constructorCallAuthority()
JifClassType
constructorCallAuthority in interface JifClassTypepublic java.util.List params()
JifPolyTypeParamInstances.
params in interface JifPolyTypeParamInstancepublic java.util.List actuals()
JifClassTypeParams, being the parameters with which
this class is instantiated.
actuals in interface JifClassTypeactuals in interface polyglot.ext.param.types.InstTypepublic ThisLabel thisLabel()
JifClassType
thisLabel in interface JifClassTypeThisLabelpublic void addMemberClass(polyglot.types.ClassType t)
addMemberClass in interface polyglot.types.ParsedClassTypeaddMemberClass in class polyglot.types.ParsedClassType_cpublic void setParams(java.util.List params)
setParams in interface JifParsedPolyTypepublic void setAuthority(java.util.List principals)
setAuthority in interface JifParsedPolyTypepublic java.lang.String toString()
toString in interface polyglot.types.TypetoString in class polyglot.types.ParsedClassType_cpublic int hashCode()
hashCode in class polyglot.types.TypeObject_cpublic boolean equalsImpl(polyglot.types.TypeObject o)
equalsImpl in interface polyglot.types.TypeObjectequalsImpl in class polyglot.types.TypeObject_c
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||