Class SourceClass
- All Implemented Interfaces:
Constants
,RuntimeConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.A list of active ongoing compilations.private boolean
Deprecated.private boolean
Deprecated.Check this class has its superclass and its interfaces.private static int[]
Deprecated.Convert class modifiers to a string for diagnostic purposes.private static String[]
Deprecated.(package private) SourceMember
Deprecated.The default constructor(package private) Hashtable
<ClassDeclaration, ClassDeclaration> Deprecated.The list of class dependenciesprivate Type
Deprecated.Access methods for constructors are distinguished from the constructors themselves by a dummy first argument.(package private) long
Deprecated.Last token of class, as reported by parser.private boolean
Deprecated.private MemberDefinition
Deprecated.private boolean
Deprecated.After parsing is complete, resolve all names except those inside method bodies or initializers.private boolean
Deprecated.private boolean
Deprecated.(package private) ConstantPool
Deprecated.The constant pool(package private) LocalMember
Deprecated.The field used to represent "this" in all of my code.(package private) Environment
Deprecated.The toplevel environment, shared with the parserFields inherited from class org.glassfish.rmic.tools.java.ClassDefinition
classContext, declaration, documentation, doInheritanceChecks, error, firstMember, innerClassMember, interfaceIds, interfaces, lastMember, localName, modifiers, nestError, outerClass, outerMember, references, referencesFrozen, resolved, source, superClass, superClassId, supersCheckStarted, where
Fields inherited from interface org.glassfish.rmic.tools.java.Constants
ABSTRACT, ACCM_CLASS, ACCM_FIELD, ACCM_INNERCLASS, ACCM_MEMBER, ACCM_METHOD, ADD, AND, ARRAY, ARRAYACCESS, ASGADD, ASGBITAND, ASGBITOR, ASGBITXOR, ASGDIV, ASGLSHIFT, ASGMUL, ASGREM, ASGRSHIFT, ASGSUB, ASGURSHIFT, ASSIGN, ATT_ALL, ATT_ALLCLASSES, ATT_CODE, BITAND, BITNOT, BITOR, BITXOR, BOOLEAN, BOOLEANVAL, BREAK, BYTE, BYTEVAL, CASE, CAST, CATCH, CHAR, CHARVAL, CLASS, COLON, COMMA, COMMENT, COND, CONST, CONTINUE, CONVERT, CS_BINARY, CS_CHECKED, CS_COMPILED, CS_NOTFOUND, CS_PARSED, CS_SOURCE, CS_UNDECIDED, CS_UNDEFINED, CT_BLOCK, CT_BRANCH_FALSE, CT_BRANCH_TRUE, CT_CASE, CT_FIKT_METHOD, CT_FIKT_RET, CT_FIRST_KIND, CT_LAST_KIND, CT_METHOD, CT_SWITH_WO_DEF, DEC, DECLARATION, DEFAULT, DIV, DO, DOUBLE, DOUBLEVAL, ELSE, EQ, ERROR, EXPR, EXPRESSION, EXTENDS, F_COVDATA, F_COVERAGE, F_DEBUG_LINES, F_DEBUG_SOURCE, F_DEBUG_VARS, F_DEPENDENCIES, F_DEPRECATION, F_DUMP, F_ERRORSREPORTED, F_OPT, F_OPT_INTERCLASS, F_PRINT_DEPENDENCIES, F_STRICTDEFAULT, F_VERBOSE, F_VERSION12, F_WARNINGS, FALSE, FIELD, FINAL, FINALLY, FLOAT, FLOATVAL, FOR, GE, GOTO, GT, idAppend, idClass, idClassInit, idClone, idCode, idConstantValue, idCoverageTable, idDeprecated, idDocumentation, IDENT, idExceptions, idFinallyReturnValue, idGetClass, idInit, idInnerClasses, idJavaIoSerializable, idJavaLang, idJavaLangClass, idJavaLangCloneable, idJavaLangError, idJavaLangException, idJavaLangObject, idJavaLangRuntimeException, idJavaLangString, idJavaLangStringBuffer, idJavaLangThrowable, idLength, idLineNumberTable, idLocalVariableTable, idNew, idNull, idSourceFile, idStar, idSuper, idSynthetic, idThis, idToString, idTYPE, idValueOf, IF, IMPLEMENTS, IMPORT, INC, INLINEMETHOD, INLINENEWINSTANCE, INLINERETURN, INSTANCEOF, INT, INTERFACE, INTVAL, LBRACE, LE, LENGTH, LONG, LONGVAL, LPAREN, LSHIFT, LSQBRACKET, LT, M_ABSTRACT, M_ANONYMOUS, M_DEPRECATED, M_FINAL, M_INLINEABLE, M_INTERFACE, M_LOCAL, M_NATIVE, M_PRIVATE, M_PROTECTED, M_PUBLIC, M_STATIC, M_STRICTFP, M_SYNCHRONIZED, M_SYNTHETIC, M_TRANSIENT, M_VOLATILE, MAXFILESIZE, MAXLINENUMBER, METHOD, MM_CLASS, MM_FIELD, MM_MEMBER, MM_METHOD, MUL, NATIVE, NE, NEG, NEW, NEWARRAY, NEWFROMNAME, NEWINSTANCE, NOT, NULL, opNames, opPrecedence, OR, PACKAGE, paraDeprecated, POS, POSTDEC, POSTINC, PREDEC, prefixAccess, prefixArray, prefixClass, prefixLoc, prefixThis, prefixVal, PREINC, PRIVATE, PROTECTED, PUBLIC, QUESTIONMARK, RBRACE, REM, RETURN, RPAREN, RSHIFT, RSQBRACKET, SEMICOLON, SHORT, SHORTVAL, SIG_INNERCLASS, SIGC_INNERCLASS, STAT, STATIC, STRICTFP, STRINGVAL, SUB, SUPER, SWITCH, SYNCHRONIZED, TC_ARRAY, TC_BOOLEAN, TC_BYTE, TC_CHAR, TC_CLASS, TC_DOUBLE, TC_ERROR, TC_FLOAT, TC_INT, TC_LONG, TC_METHOD, TC_NULL, TC_SHORT, TC_VOID, THIS, THROW, THROWS, TM_ARRAY, TM_BOOLEAN, TM_BYTE, TM_CHAR, TM_CLASS, TM_DOUBLE, TM_ERROR, TM_FLOAT, TM_INT, TM_INT32, TM_INTEGER, TM_LONG, TM_METHOD, TM_NULL, TM_NUM32, TM_NUM64, TM_NUMBER, TM_REAL, TM_REFERENCE, TM_SHORT, TM_VOID, tracing, TRANSIENT, TRUE, TRY, TYPE, URSHIFT, VARDECLARATION, VOID, VOLATILE, WHEREOFFSETBITS, WHILE
Fields inherited from interface org.glassfish.rmic.tools.java.RuntimeConstants
ACC_ABSTRACT, ACC_FINAL, ACC_INTERFACE, ACC_NATIVE, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_STATIC, ACC_STRICT, ACC_SUPER, ACC_SYNCHRONIZED, ACC_TRANSIENT, ACC_VOLATILE, CONSTANT_CLASS, CONSTANT_DOUBLE, CONSTANT_FIELD, CONSTANT_FLOAT, CONSTANT_INTEGER, CONSTANT_INTERFACEMETHOD, CONSTANT_INVOKEDYNAMIC, CONSTANT_LONG, CONSTANT_METHOD, CONSTANT_METHODHANDLE, CONSTANT_METHODTYPE, CONSTANT_NAMEANDTYPE, CONSTANT_STRING, CONSTANT_UNICODE, CONSTANT_UTF8, JAVA_DEFAULT_MINOR_VERSION, JAVA_DEFAULT_VERSION, JAVA_MAGIC, JAVA_MAX_SUPPORTED_MINOR_VERSION, JAVA_MAX_SUPPORTED_VERSION, JAVA_MIN_SUPPORTED_VERSION, opc_aaload, opc_aastore, opc_aconst_null, opc_aload, opc_aload_0, opc_aload_1, opc_aload_2, opc_aload_3, opc_anewarray, opc_areturn, opc_arraylength, opc_astore, opc_astore_0, opc_astore_1, opc_astore_2, opc_astore_3, opc_athrow, opc_baload, opc_bastore, opc_bipush, opc_breakpoint, opc_caload, opc_castore, opc_checkcast, opc_d2f, opc_d2i, opc_d2l, opc_dadd, opc_daload, opc_dastore, opc_dcmpg, opc_dcmpl, opc_dconst_0, opc_dconst_1, opc_ddiv, opc_dead, opc_dload, opc_dload_0, opc_dload_1, opc_dload_2, opc_dload_3, opc_dmul, opc_dneg, opc_drem, opc_dreturn, opc_dstore, opc_dstore_0, opc_dstore_1, opc_dstore_2, opc_dstore_3, opc_dsub, opc_dup, opc_dup_x1, opc_dup_x2, opc_dup2, opc_dup2_x1, opc_dup2_x2, opc_f2d, opc_f2i, opc_f2l, opc_fadd, opc_faload, opc_fastore, opc_fcmpg, opc_fcmpl, opc_fconst_0, opc_fconst_1, opc_fconst_2, opc_fdiv, opc_fload, opc_fload_0, opc_fload_1, opc_fload_2, opc_fload_3, opc_fmul, opc_fneg, opc_frem, opc_freturn, opc_fstore, opc_fstore_0, opc_fstore_1, opc_fstore_2, opc_fstore_3, opc_fsub, opc_getfield, opc_getstatic, opc_goto, opc_goto_w, opc_i2b, opc_i2c, opc_i2d, opc_i2f, opc_i2l, opc_i2s, opc_iadd, opc_iaload, opc_iand, opc_iastore, opc_iconst_0, opc_iconst_1, opc_iconst_2, opc_iconst_3, opc_iconst_4, opc_iconst_5, opc_iconst_m1, opc_idiv, opc_if_acmpeq, opc_if_acmpne, opc_if_icmpeq, opc_if_icmpge, opc_if_icmpgt, opc_if_icmple, opc_if_icmplt, opc_if_icmpne, opc_ifeq, opc_ifge, opc_ifgt, opc_ifle, opc_iflt, opc_ifne, opc_ifnonnull, opc_ifnull, opc_iinc, opc_iload, opc_iload_0, opc_iload_1, opc_iload_2, opc_iload_3, opc_imul, opc_ineg, opc_instanceof, opc_invokedynamic, opc_invokeinterface, opc_invokespecial, opc_invokestatic, opc_invokevirtual, opc_ior, opc_irem, opc_ireturn, opc_ishl, opc_ishr, opc_istore, opc_istore_0, opc_istore_1, opc_istore_2, opc_istore_3, opc_isub, opc_iushr, opc_ixor, opc_jsr, opc_jsr_w, opc_l2d, opc_l2f, opc_l2i, opc_label, opc_ladd, opc_laload, opc_land, opc_lastore, opc_lcmp, opc_lconst_0, opc_lconst_1, opc_ldc, opc_ldc_w, opc_ldc2_w, opc_ldiv, opc_lload, opc_lload_0, opc_lload_1, opc_lload_2, opc_lload_3, opc_lmul, opc_lneg, opc_lookupswitch, opc_lor, opc_lrem, opc_lreturn, opc_lshl, opc_lshr, opc_lstore, opc_lstore_0, opc_lstore_1, opc_lstore_2, opc_lstore_3, opc_lsub, opc_lushr, opc_lxor, opc_monitorenter, opc_monitorexit, opc_multianewarray, opc_new, opc_newarray, opc_nop, opc_pop, opc_pop2, opc_putfield, opc_putstatic, opc_ret, opc_return, opc_saload, opc_sastore, opc_sipush, opc_swap, opc_tableswitch, opc_try, opc_wide, opcLengths, opcNames, SIG_ARRAY, SIG_BOOLEAN, SIG_BYTE, SIG_CHAR, SIG_CLASS, SIG_DOUBLE, SIG_ENDCLASS, SIG_ENDMETHOD, SIG_FLOAT, SIG_INT, SIG_LONG, SIG_METHOD, SIG_PACKAGE, SIG_SHORT, SIG_VOID, SIGC_ARRAY, SIGC_BOOLEAN, SIGC_BYTE, SIGC_CHAR, SIGC_CLASS, SIGC_DOUBLE, SIGC_ENDCLASS, SIGC_ENDMETHOD, SIGC_FLOAT, SIGC_INT, SIGC_LONG, SIGC_METHOD, SIGC_PACKAGE, SIGC_SHORT, SIGC_VOID, T_BOOLEAN, T_BYTE, T_CHAR, T_CLASS, T_DOUBLE, T_FLOAT, T_INT, T_LONG, T_SHORT
-
Constructor Summary
ConstructorsConstructorDescriptionSourceClass
(Environment env, long where, ClassDeclaration declaration, String documentation, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, SourceClass outerClass, Identifier localName) Deprecated.Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Add a dependencyvoid
addMember
(Environment env, MemberDefinition f) Deprecated.Add a field (check it first)protected void
addMirandaMethods
(Environment env, Iterator<MemberDefinition> mirandas) Deprecated.Add a group of methods to this class as miranda methods.private static void
assertModifiers
(int mods, int required) Deprecated.Verify that the modifier bits included in 'required' are all present in 'mods', otherwise signal an internal error.protected void
basicCheck
(Environment env) Deprecated.void
check
(Environment env) Deprecated.Check this class and all its fields.private void
checkBlankFinals
(Environment env, Context ctxInit, Vset vset, boolean isStatic) Deprecated.Make sure all my blank finals exist now.checkInsideClass
(Environment env, Context ctx, Vset vset) Deprecated.Check a class which is inside a local class, but is not itself local.private Vset
checkInternal
(Environment env, Context ctx, Vset vset) Deprecated.checkLocalClass
(Environment env, Context ctx, Vset vset, ClassDefinition sup, Expression[] args, Type[] argTypes) Deprecated.During the type-checking of an outer method body or initializer, this routine is called to check a local class body in the proper context.private Vset
checkMembers
(Environment env, Context ctx, Vset vset) Deprecated.Check all of the members of this class.void
checkSourceFile
(Environment env, long where) Deprecated.See if the source file of this class is of the right name.private void
checkSupers
(Environment env) Deprecated.Check that all superclasses and superinterfaces are defined and well formed.(package private) static String
classModifierString
(int mods) Deprecated.void
compile
(OutputStream out) Deprecated.Compile this classprotected void
compileClass
(Environment env, OutputStream out) Deprecated.(package private) SourceClass
Deprecated.Find an inner class of 'this', chosen arbitrarily.Deprecated.Return absolute name of source filegetAccessMember
(Environment env, Context ctx, MemberDefinition field, boolean isSuper) Deprecated.Find or create an access method for a private member, or return null if this is not possible.private MemberDefinition
getAccessMember
(Environment env, Context ctx, MemberDefinition field, boolean isUpdate, boolean isSuper) Deprecated.getClassLiteralLookup
(long fwhere) Deprecated.Get helper method for class literal lookup.long
Deprecated.Return last position in this class.Deprecated.Return importsgetSuperClass
(Environment env) Deprecated.Overrides 'ClassDefinition.getSuperClass'.Deprecated.Find or create my "this" argument, which is used for all methods.getUpdateMember
(Environment env, Context ctx, MemberDefinition field, boolean isSuper) Deprecated.Find or create an update method for a private member, or return null if this is not possible.void
Deprecated.As with checkLocalClass, run the inline phase for a local class.private void
maybeCheck
(Environment env) Deprecated.void
noteUsedBy
(ClassDefinition ref, long where, Environment env) Deprecated.See if the source file of this class is right.void
Deprecated.Print out the dependencies for this class (-xdepend) optionboolean
Deprecated.A source class never reports deprecation, since the compiler allows access to deprecated features that are being compiled in the same job.private void
resolveAnonymousStructure
(Environment env, ClassDefinition sup, Expression[] args, Type[] argTypes) Deprecated.Just before checking an anonymous class, decide its true inheritance, and build its (sole, implicit) constructor.private ClassDeclaration
resolveSuper
(Environment env, IdentifierToken t) Deprecated.protected void
resolveSupers
(Environment env) Deprecated.void
Deprecated.We create a stub for this.void
setEndPosition
(long endPosition) Deprecated.setupEnv
(Environment env) Deprecated.Create an environment suitable for checking this class.Methods inherited from class org.glassfish.rmic.tools.java.ClassDefinition
addLocalClass, addMember, addModifiers, canAccess, canAccess, cleanup, collectInheritedMethods, containsDeprecated, diagnoseMismatch, enclosingClassOf, extendsCanAccess, findAnyMethod, findMethod, findOuterMember, getClassContext, getClassDeclaration, getDependencies, getError, getFirstMatch, getFirstMember, getInnerClass, getInnerClassMember, getInterfaces, getLocalClass, getLocalName, getMethods, getMethods, getModifiers, getName, getNestError, getOuterClass, getPermanentlyAbstractMethods, getReference, getReferences, getReferencesFrozen, getSource, getSuperClass, getTopClass, getType, getVariable, getWhere, hasConstructor, implementedBy, inSamePackage, isAbstract, isAnonymous, isClass, isDeprecated, isFinal, isInnerClass, isInsideLocal, isInterface, isLocal, isMember, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isSynthetic, isTopLevel, loadNested, matchAnonConstructor, matchMethod, matchMethod, mustBeAbstract, permitInlinedAccess, permitInlinedAccess, print, protectedAccess, referencesMustNotBeFrozen, resolveInnerClass, resolveName, setError, setLocalName, setOuterClass, setOuterMember, subClassOf, subModifiers, superClassOf, toString, turnOffInheritanceChecks
-
Field Details
-
toplevelEnv
Environment toplevelEnvDeprecated.The toplevel environment, shared with the parser -
defConstructor
SourceMember defConstructorDeprecated.The default constructor -
tab
ConstantPool tabDeprecated.The constant pool -
deps
Deprecated.The list of class dependencies -
thisArg
LocalMember thisArgDeprecated.The field used to represent "this" in all of my code. -
endPosition
long endPositionDeprecated.Last token of class, as reported by parser. -
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 sourceFileCheckedDeprecated. -
supersChecked
private boolean supersCheckedDeprecated. -
basicChecking
private boolean basicCheckingDeprecated.Check this class has its superclass and its interfaces. Also force it to have anmethod (if it doesn't already have one) and to have all the abstract methods of its parents. -
basicCheckDone
private boolean basicCheckDoneDeprecated. -
resolving
private boolean resolvingDeprecated.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 inlinedLocalClassDeprecated. -
classModifierBits
private static int[] classModifierBitsDeprecated.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
Deprecated. -
lookup
Deprecated. -
active
Deprecated.A list of active ongoing compilations. This list is used to stop two compilations from saving the same class.
-
-
Constructor Details
-
SourceClass
public SourceClass(Environment env, long where, ClassDeclaration declaration, String documentation, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, SourceClass outerClass, Identifier localName) Deprecated.Constructor
-
-
Method Details
-
getEndPosition
public long getEndPosition()Deprecated.Return last position in this class.- See Also:
-
setEndPosition
public void setEndPosition(long endPosition) Deprecated. -
getAbsoluteName
Deprecated.Return absolute name of source file -
getImports
Deprecated.Return imports -
getThisArgument
Deprecated.Find or create my "this" argument, which is used for all methods. -
addDependency
Deprecated.Add a dependency- Overrides:
addDependency
in classClassDefinition
-
addMember
Deprecated.Add a field (check it first)- Overrides:
addMember
in classClassDefinition
-
setupEnv
Deprecated.Create an environment suitable for checking this class. Make sure the source and imports are set right. Make sure the environment contains no context information. (Actually, throw away env altogether and use toplevelEnv instead.) -
reportDeprecated
Deprecated.A source class never reports deprecation, since the compiler allows access to deprecated features that are being compiled in the same job.- Overrides:
reportDeprecated
in classClassDefinition
-
noteUsedBy
Deprecated.See if the source file of this class is right.- Overrides:
noteUsedBy
in classClassDefinition
- See Also:
-
check
Deprecated.Check this class and all its fields.- Overrides:
check
in classClassDefinition
- Throws:
ClassNotFound
-
maybeCheck
Deprecated.- Throws:
ClassNotFound
-
checkInternal
Deprecated.- Throws:
ClassNotFound
-
checkSourceFile
Deprecated.See if the source file of this class is of the right name. -
getSuperClass
Deprecated.Overrides 'ClassDefinition.getSuperClass'.- Overrides:
getSuperClass
in classClassDefinition
- See Also:
-
checkSupers
Deprecated.Check that all superclasses and superinterfaces are defined and well formed. Among other checks, verify that the inheritance graph is acyclic. Called from 'resolveTypeStructure'.- Throws:
ClassNotFound
-
checkMembers
Deprecated.Check all of the members of this class.Inner classes are checked in the following way. Any class which is immediately contained in a block (anonymous and local classes) is checked along with its containing method; see the SourceMember.check() method for more information. Member classes of this class are checked immediately after this class, unless this class is insideLocal(), in which case, they are checked with the rest of the members.
- Throws:
ClassNotFound
-
checkBlankFinals
Deprecated.Make sure all my blank finals exist now. -
basicCheck
Deprecated.- Overrides:
basicCheck
in classClassDefinition
- Throws:
ClassNotFound
-
addMirandaMethods
Deprecated.Add a group of methods to this class as miranda methods. For a definition of Miranda methods, see the comment above the method addMirandaMethods() in the file org/glassfish/rmic/tools/java/ClassDeclaration.java- Overrides:
addMirandaMethods
in classClassDefinition
-
resolveTypeStructure
Deprecated.Description copied from class:ClassDefinition
We create a stub for this. Source classes do more work. Some calls from 'SourceClass.checkSupers' execute this method.- Overrides:
resolveTypeStructure
in classClassDefinition
- See Also:
-
resolveSupers
Deprecated. -
resolveSuper
Deprecated. -
checkLocalClass
public Vset checkLocalClass(Environment env, Context ctx, Vset vset, ClassDefinition sup, Expression[] args, Type[] argTypes) throws ClassNotFound Deprecated.During the type-checking of an outer method body or initializer, this routine is called to check a local class body in the proper context.- Overrides:
checkLocalClass
in classClassDefinition
- Parameters:
sup
- the named super class or interface (if anonymous)args
- the actual arguments (if anonymous)- Throws:
ClassNotFound
-
inlineLocalClass
Deprecated.As with checkLocalClass, run the inline phase for a local class.- Overrides:
inlineLocalClass
in classClassDefinition
-
checkInsideClass
Deprecated.Check a class which is inside a local class, but is not itself local.- Throws:
ClassNotFound
-
resolveAnonymousStructure
private void resolveAnonymousStructure(Environment env, ClassDefinition sup, Expression[] args, Type[] argTypes) throws ClassNotFound Deprecated.Just before checking an anonymous class, decide its true inheritance, and build its (sole, implicit) constructor.- Throws:
ClassNotFound
-
classModifierString
Deprecated. -
getAccessMember
public MemberDefinition getAccessMember(Environment env, Context ctx, MemberDefinition field, boolean isSuper) Deprecated.Find or create an access method for a private member, or return null if this is not possible.- Overrides:
getAccessMember
in classClassDefinition
-
getUpdateMember
public MemberDefinition getUpdateMember(Environment env, Context ctx, MemberDefinition field, boolean isSuper) Deprecated.Description copied from class:ClassDefinition
Find or create an update method for a private member, or return null if this is not possible.- Overrides:
getUpdateMember
in classClassDefinition
-
getAccessMember
private MemberDefinition getAccessMember(Environment env, Context ctx, MemberDefinition field, boolean isUpdate, boolean isSuper) Deprecated. -
findLookupContext
SourceClass findLookupContext()Deprecated.Find an inner class of 'this', chosen arbitrarily. Result is always an actual class, never an interface. Returns null if none found. -
getClassLiteralLookup
Deprecated.Get helper method for class literal lookup.- Overrides:
getClassLiteralLookup
in classClassDefinition
-
compile
Deprecated.Compile this class- Throws:
InterruptedException
IOException
-
assertModifiers
private static void assertModifiers(int mods, int required) Deprecated.Verify that the modifier bits included in 'required' are all present in 'mods', otherwise signal an internal error. Note that errors in the source program may corrupt the modifiers, thus we rely on the fact that 'CompilerError' exceptions are silently ignored after an error message has been issued. -
compileClass
Deprecated.- Throws:
IOException
ClassNotFound
-
printClassDependencies
Deprecated.Print out the dependencies for this class (-xdepend) option
-