Class VisibleMemberMap
java.lang.Object
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.util.VisibleMemberMap
Deprecated.
A data structure that encapsulates the visible members of a particular
type for a given class tree. To use this data structor, you must specify
the type of member you are interested in (nested class, field, constructor
or method) and the leaf of the class tree. The data structure will map
all visible members in the leaf and classes above the leaf in the tree.
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
- Author:
- Atul M Dambalkar, Jamie Ho (rewrite)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.The total number of member types is 9.static final intDeprecated.static final StringDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionVisibleMemberMap(ClassDoc classdoc, int kind, Configuration configuration) Deprecated.Construct a VisibleMemberMap of the given type for the given class. -
Method Summary
Modifier and TypeMethodDescriptiongetGetterForProperty(ProgramElementDoc propertyMethod) Deprecated.Returns the getter documentation belonging to the given property method.getLeafClassMembers(Configuration configuration) Deprecated.Return the visible members of the class being mapped.Deprecated.Retrn the list of members for the given class.Deprecated.Returns the property field documentation belonging to the given member.getSetterForProperty(ProgramElementDoc propertyMethod) Deprecated.Returns the setter documentation belonging to the given property method.Deprecated.Return the list of visible classes in this map.booleanDeprecated.Return true if this map has no visible members.
-
Field Details
-
INNERCLASSES
public static final int INNERCLASSESDeprecated.- See Also:
-
ENUM_CONSTANTS
public static final int ENUM_CONSTANTSDeprecated.- See Also:
-
FIELDS
public static final int FIELDSDeprecated.- See Also:
-
CONSTRUCTORS
public static final int CONSTRUCTORSDeprecated.- See Also:
-
METHODS
public static final int METHODSDeprecated.- See Also:
-
ANNOTATION_TYPE_FIELDS
public static final int ANNOTATION_TYPE_FIELDSDeprecated.- See Also:
-
ANNOTATION_TYPE_MEMBER_OPTIONAL
public static final int ANNOTATION_TYPE_MEMBER_OPTIONALDeprecated.- See Also:
-
ANNOTATION_TYPE_MEMBER_REQUIRED
public static final int ANNOTATION_TYPE_MEMBER_REQUIREDDeprecated.- See Also:
-
PROPERTIES
public static final int PROPERTIESDeprecated.- See Also:
-
NUM_MEMBER_TYPES
public static final int NUM_MEMBER_TYPESDeprecated.The total number of member types is 9.- See Also:
-
STARTLEVEL
Deprecated.- See Also:
-
-
Constructor Details
-
VisibleMemberMap
Deprecated.Construct a VisibleMemberMap of the given type for the given class.- Parameters:
classdoc- the class whose members are being mapped.kind- the kind of member that is being mapped.configuration- the configuration to use to construct this VisibleMemberMap. If the field configuration.nodeprecated is true the deprecated members are excluded from the map. If the field configuration.javafx is true the JavaFX features are used.
-
-
Method Details
-
getVisibleClassesList
Deprecated.Return the list of visible classes in this map.- Returns:
- the list of visible classes in this map.
-
getPropertyMemberDoc
Deprecated.Returns the property field documentation belonging to the given member.- Parameters:
ped- the member for which the property documentation is needed.- Returns:
- the property field documentation, null if there is none.
-
getGetterForProperty
Deprecated.Returns the getter documentation belonging to the given property method.- Parameters:
propertyMethod- the method for which the getter is needed.- Returns:
- the getter documentation, null if there is none.
-
getSetterForProperty
Deprecated.Returns the setter documentation belonging to the given property method.- Parameters:
propertyMethod- the method for which the setter is needed.- Returns:
- the setter documentation, null if there is none.
-
getLeafClassMembers
Deprecated.Return the visible members of the class being mapped. Also append at the end of the list members that are inherited by inaccessible parents. We document these members in the child because the parent is not documented.- Parameters:
configuration- the current configuration of the doclet.
-
getMembersFor
Deprecated.Retrn the list of members for the given class.- Parameters:
cd- the class to retrieve the list of visible members for.- Returns:
- the list of members for the given class.
-
noVisibleMembers
public boolean noVisibleMembers()Deprecated.Return true if this map has no visible members.- Returns:
- true if this map has no visible members.
-