polyglot.ext.covarRet
Class CovarRetMethodInstance_c

java.lang.Object
  extended bypolyglot.ext.jl.types.TypeObject_c
      extended bypolyglot.ext.jl.types.ProcedureInstance_c
          extended bypolyglot.ext.jl.types.MethodInstance_c
              extended bypolyglot.ext.covarRet.CovarRetMethodInstance_c
All Implemented Interfaces:
java.lang.Cloneable, CodeInstance, Copy, MemberInstance, MethodInstance, ProcedureInstance, java.io.Serializable, TypeObject

public class CovarRetMethodInstance_c
extends MethodInstance_c

A MethodInstance represents the type information for a Java method.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class polyglot.ext.jl.types.MethodInstance_c
name, returnType
 
Fields inherited from class polyglot.ext.jl.types.ProcedureInstance_c
container, excTypes, flags, formalTypes
 
Fields inherited from class polyglot.ext.jl.types.TypeObject_c
position, ts
 
Constructor Summary
protected CovarRetMethodInstance_c()
          Used for deserializing types.
  CovarRetMethodInstance_c(TypeSystem ts, Position pos, ReferenceType container, Flags flags, Type returnType, java.lang.String name, java.util.List argTypes, java.util.List excTypes)
           
 
Method Summary
 boolean canOverrideImpl(MethodInstance mj)
          Leave this method in for historic reasons, to make sure that extensions modify their code correctly.
 
Methods inherited from class polyglot.ext.jl.types.MethodInstance_c
canOverride, canOverrideImpl, checkOverride, container, designator, equalsImpl, flags, formalTypes, hashCode, implemented, implementedImpl, isCanonical, isSameMethod, isSameMethodImpl, methodCallValid, methodCallValidImpl, name, name, overrides, overridesImpl, returnType, returnType, signature, throwTypes, toString
 
Methods inherited from class polyglot.ext.jl.types.ProcedureInstance_c
callValid, callValidImpl, container, flags, formalTypes, hasFormals, hasFormalsImpl, listIsCanonical, moreSpecific, moreSpecificImpl, throwsSubset, throwsSubsetImpl, throwTypes
 
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.ProcedureInstance
callValid, callValidImpl, formalTypes, hasFormals, hasFormalsImpl, moreSpecific, moreSpecificImpl, throwsSubset, throwsSubsetImpl, throwTypes
 
Methods inherited from interface polyglot.types.MemberInstance
container, flags
 
Methods inherited from interface polyglot.types.TypeObject
position, typeSystem
 
Methods inherited from interface polyglot.util.Copy
copy
 

Constructor Detail

CovarRetMethodInstance_c

protected CovarRetMethodInstance_c()
Used for deserializing types.


CovarRetMethodInstance_c

public CovarRetMethodInstance_c(TypeSystem ts,
                                Position pos,
                                ReferenceType container,
                                Flags flags,
                                Type returnType,
                                java.lang.String name,
                                java.util.List argTypes,
                                java.util.List excTypes)
Method Detail

canOverrideImpl

public boolean canOverrideImpl(MethodInstance mj)
Description copied from class: MethodInstance_c
Leave this method in for historic reasons, to make sure that extensions modify their code correctly.

Overrides:
canOverrideImpl in class MethodInstance_c