List of usage examples for org.springframework.core.type AnnotatedTypeMetadata toString
public String toString()
From source file:lodsve.core.condition.SpringBootCondition.java
private String getName(AnnotatedTypeMetadata metadata) { if (metadata instanceof AnnotationMetadata) { return ((AnnotationMetadata) metadata).getClassName(); }//from w w w. j a v a 2s . com if (metadata instanceof MethodMetadata) { MethodMetadata methodMetadata = (MethodMetadata) metadata; return methodMetadata.getDeclaringClassName() + "." + methodMetadata.getMethodName(); } return metadata.toString(); }