test/tools/javac/processing/6511613/DummyProcessor.java

Mon, 01 Jun 2015 15:19:54 -0700

author
darcy
date
Mon, 01 Jun 2015 15:19:54 -0700
changeset 3834
45746e46893b
parent 699
d2aaaec153e8
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8075546: Add tiered testing definitions to the langtools repo
Reviewed-by: jjg

jjg@504 1 /*
ohair@554 2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
jjg@504 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
jjg@504 4 *
jjg@504 5 * This code is free software; you can redistribute it and/or modify it
jjg@504 6 * under the terms of the GNU General Public License version 2 only, as
jjg@504 7 * published by the Free Software Foundation.
jjg@504 8 *
jjg@504 9 * This code is distributed in the hope that it will be useful, but WITHOUT
jjg@504 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
jjg@504 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
jjg@504 12 * version 2 for more details (a copy is included in the LICENSE file that
jjg@504 13 * accompanied this code).
jjg@504 14 *
jjg@504 15 * You should have received a copy of the GNU General Public License version
jjg@504 16 * 2 along with this work; if not, write to the Free Software Foundation,
jjg@504 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
jjg@504 18 *
ohair@554 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@554 20 * or visit www.oracle.com if you need additional information or have any
ohair@554 21 * questions.
jjg@504 22 */
jjg@504 23
jjg@504 24 import javax.annotation.processing.*;
jjg@504 25 import javax.lang.model.*;
jjg@504 26 import javax.lang.model.element.*;
jjg@504 27 import java.util.Set;
jjg@504 28
darcy@699 29 public class DummyProcessor extends JavacTestingAbstractProcessor {
jjg@504 30 public boolean process(Set<? extends TypeElement> annotations,
jjg@504 31 RoundEnvironment roundEnv) {
jjg@504 32 return true;
jjg@504 33 }
jjg@504 34 }
jjg@504 35

mercurial