Get the actual declarations associated with a given symbol.

@param name
@return
8753
public List<Decl.Named> getRegisteredDeclarations(QualifiedName name) {
		Group g = symbolTable.get(name.getUnit());
		if (g != null) {
			return g.getRegisteredDeclarations(name.getName());
		} else {
			return Collections.EMPTY_LIST;
		}
	}
1182842
String nameTokenFor(String name) {
        Integer token = nameToToken.get(name);
        if (token == null) {
            token = nameToToken.size();
            nameToToken.put(name, token);
        }
        return "#" + token;
    }
226490
public static List<> matchDeclarationsToTuple(Declaration[] declarations) {
        List<> matchers = new ArrayList<>();
        for (int i = 0; i < declarations.length; i++) {
            matchers.add(new (i, declarations[i]));
        }
        Collections.sort(matchers);
        return matchers;
    }
1204732
public List<String> getHeader(String name) {
        if (headers == null) {
            return null;
        }
        return headers.values(name);
    }
1248455
protected String lookupNamespaceURIImpl(String name) {
        String prefix = getPrefixFromQualifiedName(name);
        String namespaceURI = this.xmlNode.lookupNamespaceURI(prefix);
        return namespaceURI;
    }
1040921
public static char getCorrespondingSymbol(String name) {
        Character symbol = (Character) map.get(name);
        if (symbol == null) {
            return (char)0;
        }
        return symbol.charValue();
    }
764683
public ParameterDefinition getParameterDefinition(String name) {
        for (ParameterDefinition pd : parameterDefinitions)
            if (pd.getName().equals(name))
                return pd;
        return null;
    }
924750
public Symbol getSymbol(String name) {
        return symbolTable == null ? null : symbolTable.get(name);
    }
1118688
private <S extends Symbol> S nameToSymbol(String nameStr, Class<S> clazz) {
        Name name = names.fromString(nameStr);
        // First check cache.
        Symbol sym = (clazz == ClassSymbol.class)
                    ? syms.classes.get(name)
                    : syms.packages.get(name);

        try {
            if (sym == null)
                sym = javaCompiler.resolveIdent(nameStr);

            sym.complete();

            return (sym.kind != Kinds.ERR &&
                    sym.exists() &&
                    clazz.isInstance(sym) &&
                    name.equals(sym.getQualifiedName()))
                ? clazz.cast(sym)
                : null;
        } catch (CompletionFailure e) {
            return null;
        }
    }
547910
public SymbolType withName(String name) {
        return clone(marker, name, arrayCount, typeVariable, null, null);
    }
1230419
public String [] get(final String name) {
		if(has(name)) {
			List<String> values = headers.get(name).getValues();
			return values.toArray(new String [values.size()]);
		}
		else
			return null;
	}
230183
public static CategoryMethodList getCategoryMethods(String name) {
        final ThreadCategoryInfo categoryInfo = THREAD_INFO.getInfoNullable();
        return categoryInfo == null ? null : categoryInfo.getCategoryMethods(name);
    }
898678
public static String getFieldSignature(String name, String rawSignature) {
        StringBuilder signature = new StringBuilder();
        String returnType = org.objectweb.asm.Type.getType(rawSignature).getClassName();
        signature.append(returnType);
        signature.append(' ');
        signature.append(name);
        return signature.toString();
    }
378110
public static SymbolToken symbol(final String name, final int val)
    {
        if (name == null) { throw new NullPointerException(); }
        if (val <= 0) { throw new IllegalArgumentException("Symbol value must be positive: " + val); }

        return new SymbolToken()
        {
            public String getText()
            {
                return name;
            }

            public String assumeText()
            {
                return name;
            }

            public int getSid()
            {
                return val;
            }

            @Override
            public String toString()
            {
                return "(symbol '" + getText() + "' " + getSid() + ")";
            }
        };
    }
400529
protected String getRealPath(final String name) {
        return this.root != null
                ? this.root.concat(name)
                : name.substring(1);
    }
632116
public static AsciiString of(AsciiString name) {
        final AsciiString lowerCased = name.toLowerCase();
        final AsciiString cached = map.get(lowerCased);
        return cached != null ? cached : lowerCased;
    }
694438
private String getInitials(String name)
   {
      String result = null;

      if (name != null && name.length() != 0)
      {
         StringBuilder sb = new StringBuilder();
         sb.append(name.charAt(0));
         int index = 1;
         while (true)
         {
            index = name.indexOf(' ', index);
            if (index == -1)
            {
               break;
            }

            ++index;
            if (index < name.length() && name.charAt(index) != ' ')
            {
               sb.append(name.charAt(index));
            }

            ++index;
         }

         result = sb.toString();
      }

      return result;
   }