protected void getAllLocalElements(TypeBucket bucket, JvmDeclaredType type, List<IEObjectDescription> result) { Iterable<JvmFeature> features = type.getAllFeatures(); for (JvmFeature feature : features) { if (feature.isStatic()) { addDescriptions(feature, bucket, result); } } }
protected void getAllLocalElements(TypeBucket bucket, JvmDeclaredType type, Set<String> restrictedNames, List<IEObjectDescription> result) { Iterable<JvmFeature> features = type.getAllFeatures(); for (JvmFeature feature : features) { if (feature.isStatic() && restrictedNames.contains(feature.getSimpleName())) { addDescriptions(feature, bucket, result); } } }