langtools/src/share/classes/com/sun/tools/javadoc/AnnotationTypeElementDocImpl.java
changeset 14802 969e90f68ac5
parent 14260 727a84636f12
child 17578 46ac954e4a84
equal deleted inserted replaced
14801:d66cab4ef397 14802:969e90f68ac5
    25 
    25 
    26 package com.sun.tools.javadoc;
    26 package com.sun.tools.javadoc;
    27 
    27 
    28 import com.sun.javadoc.*;
    28 import com.sun.javadoc.*;
    29 
    29 
       
    30 import com.sun.source.util.TreePath;
    30 import com.sun.tools.javac.code.Symbol.*;
    31 import com.sun.tools.javac.code.Symbol.*;
    31 import com.sun.tools.javac.tree.JCTree.*;
    32 import com.sun.tools.javac.tree.JCTree.*;
    32 import com.sun.tools.javac.util.Position;
       
    33 
    33 
    34 /**
    34 /**
    35  * Represents an element of an annotation type.
    35  * Represents an element of an annotation type.
    36  *
    36  *
    37  *  <p><b>This is NOT part of any supported API.
    37  *  <p><b>This is NOT part of any supported API.
    48 
    48 
    49     public AnnotationTypeElementDocImpl(DocEnv env, MethodSymbol sym) {
    49     public AnnotationTypeElementDocImpl(DocEnv env, MethodSymbol sym) {
    50         super(env, sym);
    50         super(env, sym);
    51     }
    51     }
    52 
    52 
    53     public AnnotationTypeElementDocImpl(DocEnv env, MethodSymbol sym,
    53     public AnnotationTypeElementDocImpl(DocEnv env, MethodSymbol sym, TreePath treePath) {
    54                                  String doc, JCMethodDecl tree, Position.LineMap lineMap) {
    54         super(env, sym, treePath);
    55         super(env, sym, doc, tree, lineMap);
       
    56     }
    55     }
    57 
    56 
    58     /**
    57     /**
    59      * Returns true, as this is an annotation type element.
    58      * Returns true, as this is an annotation type element.
    60      * (For legacy doclets, return false.)
    59      * (For legacy doclets, return false.)