JavaId extends ConstructId { public static Set<ConstructId> filter(Set<ConstructId> _set, String[] _filter) { final Set<ConstructId> set = new HashSet<ConstructId>(); for (String f : _filter) { set.addAll(JavaId.filter(_set, f)); } return set; } protected  JavaId(Type _t); Type getType(); String toString(); Set<String> getAnnotations(); void addAnnotation(String _a); boolean hasAnnotation(String _a); abstract JavaPackageId getJavaPackageId(); abstract ConstructId getDefinitionContext(); ConstructType getSharedType(); final String toJSON(); @Override JsonObject toGSON(); @Override final int hashCode(); @Override final boolean equals(Object obj); static String typeToString(Type _t); static Type typeFromString(String _t); static org.eclipse.steady.shared.enums.ConstructType toSharedType(JavaId.Type _core_type); static org.eclipse.steady.ConstructId toCoreType(
      org.eclipse.steady.shared.json.model.ConstructId _cid); static Set<org.eclipse.steady.ConstructId> toCoreType(
      Collection<org.eclipse.steady.shared.json.model.ConstructId> _cids); static JavaClassId getClassId(@NotNull Class _c); static JavaEnumId parseEnumQName(@NotNull String _s); static JavaClassId parseClassQName(@NotNull String _s); static JavaMethodId parseMethodQName(String _s); static JavaMethodId parseMethodQName(JavaId.Type _ctx_type, String _s); static JavaConstructorId parseConstructorQName(String _s); static JavaConstructorId parseConstructorQName(
      JavaId.Type _ctx_type, String _s, String _param_to_skip); static JavaClassInit parseClassInitQName(String _s); static String removePackageContext(String _qname); static Set<ConstructId> filter(Set<ConstructId> _set, String[] _filter); static Set<ConstructId> filter(Set<ConstructId> _set, String _filter); static Set<ConstructId> filter(Set<ConstructId> _set, JavaId.Type[] _filter); static Set<ConstructId> filterWithContext(Set<ConstructId> _set, JavaId _context); URL getJarUrl(); static final URL getJarUrl(URL _url); JavaId getCompilationUnit(); static JavaId getCompilationUnit(JavaId _jid); static JavaId getJavaId(String _type, String _qname);  }
@Test public void filterInputNotNull0Output0() { final HashSet<ConstructId> _set = new HashSet<ConstructId>(); final JavaId.Type[] _filter = {}; final Set<ConstructId> retval = JavaId.filter(_set, _filter); final HashSet<ConstructId> hashSet = new HashSet<ConstructId>(); assertEquals(hashSet, retval); }
@Test public void filterInputNotNullNotNullOutput0() { final HashSet<ConstructId> _set = new HashSet<ConstructId>(); final String _filter = ""; final Set<ConstructId> retval = JavaId.filter(_set, _filter); final HashSet<ConstructId> hashSet = new HashSet<ConstructId>(); assertEquals(hashSet, retval); }