/** * @since 1.4.7 */ public ExplicitTypePermission(final Class[] types) { this(new Object() { public String[] getNames() { if (types == null) return null; String[] names = new String[types.length]; for (int i = 0; i < types.length; ++i) names[i] = types[i].getName(); return names; } }.getNames()); }
/** * @since 1.4.7 */ public ExplicitTypePermission(final Class[] types) { this(new Object() { public String[] getNames() { if (types == null) return null; String[] names = new String[types.length]; for (int i = 0; i < types.length; ++i) names[i] = types[i].getName(); return names; } }.getNames()); }
/** * @since 1.4.7 */ public ExplicitTypePermission(final Class[] types) { this(new Object() { public String[] getNames() { if (types == null) return null; String[] names = new String[types.length]; for (int i = 0; i < types.length; ++i) names[i] = types[i].getName(); return names; } }.getNames()); }
/** * @since 1.4.7 */ public ExplicitTypePermission(final Class[] types) { this(new Object() { public String[] getNames() { if (types == null) return null; String[] names = new String[types.length]; for (int i = 0; i < types.length; ++i) names[i] = types[i].getName(); return names; } }.getNames()); }
/** * @since 1.4.7 */ public ExplicitTypePermission(final Class<?>... types) { this(new Object() { public String[] getNames() { if (types == null) return null; String[] names = new String[types.length]; for (int i = 0; i < types.length; ++i) names[i] = types[i].getName(); return names; } }.getNames()); }