langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/ImplementedMethods.java
changeset 45417 f7479ee8de69
parent 35426 374342e56a56
equal deleted inserted replaced
45416:0d8bb33bdfa7 45417:f7479ee8de69
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2017, 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.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    29 
    29 
    30 import javax.lang.model.element.ExecutableElement;
    30 import javax.lang.model.element.ExecutableElement;
    31 import javax.lang.model.element.TypeElement;
    31 import javax.lang.model.element.TypeElement;
    32 import javax.lang.model.type.TypeMirror;
    32 import javax.lang.model.type.TypeMirror;
    33 
    33 
    34 import jdk.javadoc.internal.doclets.toolkit.Configuration;
    34 import jdk.javadoc.internal.doclets.toolkit.BaseConfiguration;
    35 
    35 
    36 /**
    36 /**
    37  * For a given class method, build an array of interface methods which it
    37  * For a given class method, build an array of interface methods which it
    38  * implements.
    38  * implements.
    39  *
    39  *
    50     private final List<ExecutableElement> methlist = new ArrayList<>();
    50     private final List<ExecutableElement> methlist = new ArrayList<>();
    51     private final Utils utils;
    51     private final Utils utils;
    52     private final TypeElement typeElement;
    52     private final TypeElement typeElement;
    53     private final ExecutableElement method;
    53     private final ExecutableElement method;
    54 
    54 
    55     public ImplementedMethods(ExecutableElement method, Configuration configuration) {
    55     public ImplementedMethods(ExecutableElement method, BaseConfiguration configuration) {
    56         this.method = method;
    56         this.method = method;
    57         this.utils = configuration.utils;
    57         this.utils = configuration.utils;
    58         typeElement = utils.getEnclosingTypeElement(method);
    58         typeElement = utils.getEnclosingTypeElement(method);
    59     }
    59     }
    60 
    60