553N/A * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 553N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 553N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 553N/A * or visit www.oracle.com if you need additional information or have any 0N/A * Represents a java program element: class, interface, field, 0N/A * constructor, or method. 0N/A * This is an abstract class dealing with information common to 0N/A * @see MemberDocImpl 0N/A * @author Robert Field 0N/A * @author Neal Gafter (rewrite) 0N/A * @author Scott Seligman (generics, enums, annotations) 0N/A // For source position information. 0N/A // Cache for getModifiers(). 0N/A * Subclasses override to identify the containing class 0N/A * Returns the flags in terms of javac's flags 0N/A * Returns the modifier flags in terms of java.lang.reflect.Modifier. 0N/A * Get the containing class of this program element. 0N/A * @return a ClassDocImpl for this element's containing class. 0N/A * If this is a class with no outer class, return null. 0N/A * Return the package that this member is contained in. 0N/A * Return "" if in unnamed package. 0N/A * Get the modifier specifier integer. 0N/A * @see java.lang.reflect.Modifier 0N/A // Remove the implicit abstract modifier. 0N/A * Get modifiers string. 0N/A * public abstract int foo() { ... } 0N/A * modifiers() would return: 0N/A * Annotations are not included. 0N/A // Remove the implicit abstract modifier. 0N/A * Get the annotations of this program element. 0N/A * Return an empty array if there are none. 0N/A * Return true if this program element is public 0N/A * Return true if this program element is protected 0N/A * Return true if this program element is private 0N/A * Return true if this program element is package private 0N/A * Return true if this program element is static 0N/A * Return true if this program element is final 0N/A * Generate a key for sorting. 0N/A // System.out.println("COLLATION KEY FOR " + this + " is \"" + k + "\"");