@SuppressWarnings("static-method") @Test public void testScCheck() { new SCChecker().checkSpongyCastle(); }
@SuppressWarnings("static-method") public void checkSpongyCastle() { try { Class.forName("org.spongycastle.asn1.ASN1Primitive"); } catch(final ClassNotFoundException e) { throw new InvalidSpongyCastleException(SC_VERSION, "1.46 o anterior", e); } }
SCChecker { @SuppressWarnings("static-method") public void checkSpongyCastle() { try { Class.forName("org.spongycastle.asn1.ASN1Primitive"); } catch(final ClassNotFoundException e) { throw new InvalidSpongyCastleException(SC_VERSION, "1.46 o anterior", e); } } }
SCChecker { @SuppressWarnings("static-method") public void checkSpongyCastle() { try { Class.forName("org.spongycastle.asn1.ASN1Primitive"); } catch(final ClassNotFoundException e) { throw new InvalidSpongyCastleException(SC_VERSION, "1.46 o anterior", e); } }  }
SCChecker { @SuppressWarnings("static-method") public void checkSpongyCastle() { try { Class.forName("org.spongycastle.asn1.ASN1Primitive"); } catch(final ClassNotFoundException e) { throw new InvalidSpongyCastleException(SC_VERSION, "1.46 o anterior", e); } }  @SuppressWarnings("static-method") void checkSpongyCastle(); }
SCChecker { @SuppressWarnings("static-method") public void checkSpongyCastle() { try { Class.forName("org.spongycastle.asn1.ASN1Primitive"); } catch(final ClassNotFoundException e) { throw new InvalidSpongyCastleException(SC_VERSION, "1.46 o anterior", e); } }  @SuppressWarnings("static-method") void checkSpongyCastle();  }