private Metadata(Class<?> type2) { this.type = type2; docLocation(getDocLocationFor(type2)).name(type2.getName()).category(Categories.createDefault()) .description(UICommandMetadata.NO_DESCRIPTION).deprecated(type.getAnnotation(Deprecated.class) != null); }