|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object polyglot.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 Param s, 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.InstType
public void setInstantiatedFrom(polyglot.ext.param.types.PClass pc)
setInstantiatedFrom
in interface JifParsedPolyType
public void kind(polyglot.types.ClassType.Kind kind)
kind
in interface polyglot.types.ParsedClassType
kind
in class polyglot.types.ParsedClassType_c
public java.util.List fields()
fields
in interface polyglot.types.ReferenceType
fields
in class polyglot.types.ParsedClassType_c
public java.util.List authority()
JifClassType
authority
in interface JifClassType
public java.util.List constructorCallAuthority()
JifClassType
constructorCallAuthority
in interface JifClassType
public java.util.List params()
JifPolyType
ParamInstance
s.
params
in interface JifPolyType
ParamInstance
public java.util.List actuals()
JifClassType
Param
s, being the parameters with which
this class is instantiated.
actuals
in interface JifClassType
actuals
in interface polyglot.ext.param.types.InstType
public ThisLabel thisLabel()
JifClassType
thisLabel
in interface JifClassType
ThisLabel
public void addMemberClass(polyglot.types.ClassType t)
addMemberClass
in interface polyglot.types.ParsedClassType
addMemberClass
in class polyglot.types.ParsedClassType_c
public void setParams(java.util.List params)
setParams
in interface JifParsedPolyType
public void setAuthority(java.util.List principals)
setAuthority
in interface JifParsedPolyType
public java.lang.String toString()
toString
in interface polyglot.types.Type
toString
in class polyglot.types.ParsedClassType_c
public int hashCode()
hashCode
in class polyglot.types.TypeObject_c
public boolean equalsImpl(polyglot.types.TypeObject o)
equalsImpl
in interface polyglot.types.TypeObject
equalsImpl
in class polyglot.types.TypeObject_c
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |