@Test public void should_strip_modifiers_and_return_type_when_no_lparen() throws Exception { String signature = "public synchronized java.lang.String foobar"; assertThat(stripModifiersAndReturnType(signature), is("public foobar")); }
static String stripModifiersAndReturnType(String signature) { if (signature == null) { return null; } return getVisibility(signature) + " " + stripModifiers(signature); }
SignatureUtils { static String stripModifiersAndReturnType(String signature) { if (signature == null) { return null; } return getVisibility(signature) + " " + stripModifiers(signature); } }
SignatureUtils { static String stripModifiersAndReturnType(String signature) { if (signature == null) { return null; } return getVisibility(signature) + " " + stripModifiers(signature); }  }
SignatureUtils { static String stripModifiersAndReturnType(String signature) { if (signature == null) { return null; } return getVisibility(signature) + " " + stripModifiers(signature); }  static String normalizeSignature(MethodSignature3 methodSignature); static String normalizeSignature(String signature); static MethodLocation3 makeMethodLocation(Signature signature, String location); static String signatureToString(Signature signature); static String stripModifiers(String signature); static String getVisibility(String modifiers); static Signature makeSignature(Class<?> clazz, Method method); static MethodSignature3 makeMethodSignature(Class<?> clazz, Method method); static MethodSignature3 makeConstructorSignature(
      Class<?> clazz, Constructor<?> constructor); }
SignatureUtils { static String stripModifiersAndReturnType(String signature) { if (signature == null) { return null; } return getVisibility(signature) + " " + stripModifiers(signature); }  static String normalizeSignature(MethodSignature3 methodSignature); static String normalizeSignature(String signature); static MethodLocation3 makeMethodLocation(Signature signature, String location); static String signatureToString(Signature signature); static String stripModifiers(String signature); static String getVisibility(String modifiers); static Signature makeSignature(Class<?> clazz, Method method); static MethodSignature3 makeMethodSignature(Class<?> clazz, Method method); static MethodSignature3 makeConstructorSignature(
      Class<?> clazz, Constructor<?> constructor); static final String PUBLIC; static final String PROTECTED; static final String PACKAGE_PRIVATE; static final String PRIVATE; }