This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class GenericVarArgTest { | |
private static InnerClass myInnerClass; | |
@Test | |
public void testMethodInvocation() | |
throws IllegalAccessException, IllegalArgumentException, InvocationTargetException { | |
doSomething(); | |
System.out.println("Done .. all fine"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Adapted from https://gist.github.com/int128/e47217bebdb4c402b2ffa7cc199307ba | |
package com.elvtn.logging; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.http.HttpStatus; | |
import org.springframework.http.MediaType; | |
import org.springframework.jmx.export.annotation.ManagedOperation; | |
import org.springframework.jmx.export.annotation.ManagedResource; |