langtools/test/tools/javac/MethodParameters/ReflectionVisitor.java
changeset 40316 20b50a99fe8d
parent 34752 9c262a013456
equal deleted inserted replaced
40315:9e994c77db6a 40316:20b50a99fe8d
     1 /*
     1 /*
     2  * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    25 import java.lang.reflect.*;
    25 import java.lang.reflect.*;
    26 
    26 
    27 /**
    27 /**
    28  * Test MethodParameter attributs by reflection API
    28  * Test MethodParameter attributs by reflection API
    29  */
    29  */
    30 public class ReflectionVisitor extends Tester.Visitor {
    30 public class ReflectionVisitor extends MethodParametersTester.Visitor {
    31 
    31 
    32     public ReflectionVisitor(Tester tester) {
    32     public ReflectionVisitor(MethodParametersTester tester) {
    33         super(tester);
    33         super(tester);
    34     }
    34     }
    35 
    35 
    36     public void error(String msg) {
    36     public void error(String msg) {
    37         super.error("reflection: " + msg);
    37         super.error("reflection: " + msg);