public class JavadocAllocationExpression extends AllocationExpression {
public int tagSourceStart, tagSourceEnd;
+ public int tagValue;
public boolean superAccess = false;
public JavadocAllocationExpression(long pos) {
} else if (scope.kind == Scope.CLASS_SCOPE) {
this.resolvedType = this.type.resolveType((ClassScope)scope);
} else {
- this.resolvedType = this.type.resolveType((BlockScope)scope);
+ this.resolvedType = this.type.resolveType((BlockScope)scope, true /* check bounds*/);
}
// buffering the arguments' types
if (isMethodUseDeprecated(this.binding, scope)) {
scope.problemReporter().javadocDeprecatedMethod(this.binding, this, scope.getDeclarationModifiers());
}
-
+ // TODO (frederic) add support for unsafe type operation warning
return allocationType;
}