Class SourceClass

  • All Implemented Interfaces:
    Constants, RuntimeConstants

    @Deprecated
    public class SourceClass
    extends ClassDefinition
    Deprecated.
    This class represents an Java class as it is read from an Java source file. WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.
    • Field Detail

      • toplevelEnv

        Environment toplevelEnv
        Deprecated.
        The toplevel environment, shared with the parser
      • defConstructor

        SourceMember defConstructor
        Deprecated.
        The default constructor
      • thisArg

        LocalMember thisArg
        Deprecated.
        The field used to represent "this" in all of my code.
      • endPosition

        long endPosition
        Deprecated.
        Last token of class, as reported by parser.
      • dummyArgumentType

        private Type dummyArgumentType
        Deprecated.
        Access methods for constructors are distinguished from the constructors themselves by a dummy first argument. A unique type used for this purpose and shared by all constructor access methods within a package-member class is maintained here.

        This field is null except in an outermost class containing one or more classes needing such an access method.

      • sourceFileChecked

        private boolean sourceFileChecked
        Deprecated.
      • supersChecked

        private boolean supersChecked
        Deprecated.
      • basicChecking

        private boolean basicChecking
        Deprecated.
        Check this class has its superclass and its interfaces. Also force it to have an method (if it doesn't already have one) and to have all the abstract methods of its parents.
      • basicCheckDone

        private boolean basicCheckDone
        Deprecated.
      • resolving

        private boolean resolving
        Deprecated.
        After parsing is complete, resolve all names except those inside method bodies or initializers. In particular, this is the point at which we find out what kinds of variables and methods there are in the classes, and therefore what is each class's interface to the world.

        Also perform certain other transformations, such as inserting "this$C" arguments into constructors, and reorganizing structure to flatten qualified member names.

        Do not perform type-based or name-based consistency checks or normalizations (such as default nullary constructors), and do not attempt to compile code against this class, until after this phase.

      • inlinedLocalClass

        private boolean inlinedLocalClass
        Deprecated.
      • classModifierBits

        private static int[] classModifierBits
        Deprecated.
        Convert class modifiers to a string for diagnostic purposes. Accepts modifiers applicable to inner classes and that appear in the InnerClasses attribute only, as well as those that may appear in the class modifier proper.
      • classModifierNames

        private static java.lang.String[] classModifierNames
        Deprecated.
      • active

        private static java.util.Vector<java.lang.Object> active
        Deprecated.
        A list of active ongoing compilations. This list is used to stop two compilations from saving the same class.