public InstanceOfExpression(Expression expression, TypeReference type) {
   this.expression = expression;
   this.type = type;
   type.bits |= IgnoreRawTypeCheck; // https://bugs.eclipse.org/bugs/show_bug.cgi?id=282141
   this.bits |= INSTANCEOF << OperatorSHIFT;
   this.sourceStart = expression.sourceStart;
   this.sourceEnd = type.sourceEnd;
 }
Exemplo n.º 2
0
 public ClassLiteralAccess(int sourceEnd, TypeReference type) {
   this.type = type;
   type.bits |= IgnoreRawTypeCheck; // no need to worry about raw type usage
   this.sourceStart = type.sourceStart;
   this.sourceEnd = sourceEnd;
 }