Class MemberDictionary


  • public class MemberDictionary
    extends java.lang.Object
    A dictionary for member information of types.
    Since:
    1.4.21
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map types  
    • Constructor Summary

      Constructors 
      Constructor Description
      MemberDictionary()
      Constructs an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(java.lang.Class definedIn, java.lang.String member)
      Add the member of the type into the dictionary.
      boolean contains​(java.lang.Class definedIn, java.lang.String member)
      Checks the existence of the member of a type in the dictionary.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • types

        private final java.util.Map types
    • Constructor Detail

      • MemberDictionary

        public MemberDictionary()
        Constructs an instance.
        Since:
        1.4.21
    • Method Detail

      • add

        public boolean add​(java.lang.Class definedIn,
                           java.lang.String member)
        Add the member of the type into the dictionary.
        Parameters:
        definedIn - the type owning the member or null
        member - the member name
        Returns:
        true if the member has been added to the dictionary
        Since:
        1.4.21
      • contains

        public boolean contains​(java.lang.Class definedIn,
                                java.lang.String member)
        Checks the existence of the member of a type in the dictionary.
        Parameters:
        definedIn - the type owning the member or null
        member - the member name
        Returns:
        true if the member is in the dictionary
        Since:
        1.4.21