getEnumConstants

public List<? extends EnumConstantLink> getEnumConstants(Matcher<? super EnumConstantLink> matcher)(source)

Returns a list of all enum constants contained in the type linked by this type link and matched by the given matcher.

The list is sorted by match scores in descending order.

Return

the sublist of enum constants

Parameters

matcher

the matcher


public abstract Collection<? extends EnumConstantLink> getEnumConstants()(source)

Returns a collection of all enum constants contained in the type linked by this type link.

Return

the collection of enum constants