< prev index next > src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java
Print this page
&& toAnnotate.kind == TYP
&& types.isSameType(c.type, syms.valueBasedType)) {
toAnnotate.flags_field |= Flags.VALUE_BASED;
}
+ if (!c.type.isErroneous()
+ && toAnnotate.kind == TYP
+ && types.isSameType(c.type, syms.migratedValueClassType)) {
+ toAnnotate.flags_field |= Flags.MIGRATED_VALUE_CLASS;
+ }
+
+ if (!c.type.isErroneous()
+ && toAnnotate.kind == VAR
+ && toAnnotate.owner.kind == TYP
+ && types.isSameType(c.type, syms.strictType)) {
+ toAnnotate.flags_field |= Flags.STRICT;
+ }
+
if (!c.type.isErroneous()
&& types.isSameType(c.type, syms.restrictedType)) {
toAnnotate.flags_field |= Flags.RESTRICTED;
}
}
< prev index next >