@Test public void testToString() { String toString = signature1.toString(); assertTrue(toString.contains("MethodSignatureImpl")); }
@Override public String toString() { final StringBuilder builder = new StringBuilder().append("MethodSignatureImpl [name=").append(getName()) .append(", comment=").append(getComment()) .append(", definingType="); final Type defType = getDefiningType(); if (defType != null) { builder.append(defType.getPackageName()).append('.').append(defType.getName()); } else { builder.append(" null"); } return builder.append(", returnType=").append(getReturnType()) .append(", params=").append(this.params) .append(", annotations=").append(getAnnotations()) .append(']').toString(); }
MethodSignatureImpl extends AbstractTypeMember implements MethodSignature { @Override public String toString() { final StringBuilder builder = new StringBuilder().append("MethodSignatureImpl [name=").append(getName()) .append(", comment=").append(getComment()) .append(", definingType="); final Type defType = getDefiningType(); if (defType != null) { builder.append(defType.getPackageName()).append('.').append(defType.getName()); } else { builder.append(" null"); } return builder.append(", returnType=").append(getReturnType()) .append(", params=").append(this.params) .append(", annotations=").append(getAnnotations()) .append(']').toString(); } }
MethodSignatureImpl extends AbstractTypeMember implements MethodSignature { @Override public String toString() { final StringBuilder builder = new StringBuilder().append("MethodSignatureImpl [name=").append(getName()) .append(", comment=").append(getComment()) .append(", definingType="); final Type defType = getDefiningType(); if (defType != null) { builder.append(defType.getPackageName()).append('.').append(defType.getName()); } else { builder.append(" null"); } return builder.append(", returnType=").append(getReturnType()) .append(", params=").append(this.params) .append(", annotations=").append(getAnnotations()) .append(']').toString(); } @VisibleForTesting  MethodSignatureImpl(final Type definingType, final String name, final List<AnnotationType> annotations,
        final String comment, final AccessModifier accessModifier, final Type returnType,
        final List<Parameter> params, final boolean isFinal, final boolean isAbstract, final boolean isStatic);   MethodSignatureImpl(final Type definingType, final String name, final List<AnnotationType> annotations,
            final String comment, final AccessModifier accessModifier, final Type returnType,
            final List<Parameter> params, final boolean isFinal, final boolean isAbstract, final boolean isStatic,
            final boolean isDefault, final ValueMechanics mechanics); }
MethodSignatureImpl extends AbstractTypeMember implements MethodSignature { @Override public String toString() { final StringBuilder builder = new StringBuilder().append("MethodSignatureImpl [name=").append(getName()) .append(", comment=").append(getComment()) .append(", definingType="); final Type defType = getDefiningType(); if (defType != null) { builder.append(defType.getPackageName()).append('.').append(defType.getName()); } else { builder.append(" null"); } return builder.append(", returnType=").append(getReturnType()) .append(", params=").append(this.params) .append(", annotations=").append(getAnnotations()) .append(']').toString(); } @VisibleForTesting  MethodSignatureImpl(final Type definingType, final String name, final List<AnnotationType> annotations,
        final String comment, final AccessModifier accessModifier, final Type returnType,
        final List<Parameter> params, final boolean isFinal, final boolean isAbstract, final boolean isStatic);   MethodSignatureImpl(final Type definingType, final String name, final List<AnnotationType> annotations,
            final String comment, final AccessModifier accessModifier, final Type returnType,
            final List<Parameter> params, final boolean isFinal, final boolean isAbstract, final boolean isStatic,
            final boolean isDefault, final ValueMechanics mechanics); @Override boolean isAbstract(); @Override boolean isDefault(); @Override List<Parameter> getParameters(); @Override ValueMechanics getMechanics(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString(); }
MethodSignatureImpl extends AbstractTypeMember implements MethodSignature { @Override public String toString() { final StringBuilder builder = new StringBuilder().append("MethodSignatureImpl [name=").append(getName()) .append(", comment=").append(getComment()) .append(", definingType="); final Type defType = getDefiningType(); if (defType != null) { builder.append(defType.getPackageName()).append('.').append(defType.getName()); } else { builder.append(" null"); } return builder.append(", returnType=").append(getReturnType()) .append(", params=").append(this.params) .append(", annotations=").append(getAnnotations()) .append(']').toString(); } @VisibleForTesting  MethodSignatureImpl(final Type definingType, final String name, final List<AnnotationType> annotations,
        final String comment, final AccessModifier accessModifier, final Type returnType,
        final List<Parameter> params, final boolean isFinal, final boolean isAbstract, final boolean isStatic);   MethodSignatureImpl(final Type definingType, final String name, final List<AnnotationType> annotations,
            final String comment, final AccessModifier accessModifier, final Type returnType,
            final List<Parameter> params, final boolean isFinal, final boolean isAbstract, final boolean isStatic,
            final boolean isDefault, final ValueMechanics mechanics); @Override boolean isAbstract(); @Override boolean isDefault(); @Override List<Parameter> getParameters(); @Override ValueMechanics getMechanics(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString();  }