Package gnu.expr

Class ObjectExp

  • All Implemented Interfaces:
    gnu.kawa.format.Printable, Named, SourceLocator, SourceLocator, Locator

    public class ObjectExp
    extends ClassExp
    An expression that evaluated to an instance of an anonymous class. It's conceptually questionable that this inherits from ClassExp - it should perhaps inherit from ApplyExp.
    • Constructor Detail

      • ObjectExp

        public ObjectExp()
    • Method Detail

      • calculateType

        protected Type calculateType()
        Description copied from class: ClassExp
        The ClassType generated for this class. Note difference from getClassType: The value of a ClassExp (viewed as an expression) is a class/type object, so getType returns the type of a type.
        Overrides:
        calculateType in class ClassExp