private static String getResourceLookup ( Resource resource ) // F743-16274.1 { if ( svResourceLookupMethod == null ) { return "" ; } try { return ( String ) svResourceLookupMethod . invoke ( resource , ( Object [ ] ) null ) ; } catch ( Exception ex ) { throw new IllegalStateException ( ex ) ; } }
Returns the result of javax . annotation . Resource . lookup or the empty string if that method is unavailable in the current JVM .