Class FieldInfoList

    • Method Detail

      • getNames

        public List<String> getNames()
        Returns:
        The names of all fields in this list, by calling FieldInfo.getName() for each item in the list.
      • getAsStrings

        public List<String> getAsStrings()
        Returns:
        The string representations of all fields in this list (with annotations, modifiers, etc.), by calling FieldInfo.toString() for each item in the list.
      • containsName

        public boolean containsName​(String fieldName)
        Parameters:
        fieldName - The name of a field.
        Returns:
        true if this list contains a field with the given name.
      • get

        public FieldInfo get​(String fieldName)
        Parameters:
        fieldName - The name of a field.
        Returns:
        The FieldInfo object in the list with the given name, or null if not found.