public class BinaryTypeReferenceRestrictionsChecker extends Object
CompilationUnitDeclaration
for references to binary types
outside the context of an annotation.Modifier and Type | Method and Description |
---|---|
static void |
check(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud)
Scans a
CompilationUnitDeclaration for expressions that use
BinaryTypeBinding s outside the context of an annotation. |
public static void check(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud)
CompilationUnitDeclaration
for expressions that use
BinaryTypeBinding
s outside the context of an annotation. An error
is reported against the CompilationUnitDeclaration
for the first
instance of each unique BinaryTypeBinding
.Copyright © 2018. All rights reserved.