Coverage Report - org.webslinger.ext.bsf.javaclass.JavaclassObjectKey
 
Classes in this File Line Coverage Branch Coverage Complexity
JavaclassObjectKey
0%
0/5
N/A
0
 
 1  
 package org.webslinger.ext.bsf.javaclass;
 2  
 
 3  
 import org.apache.bsf.BSFException;
 4  
 
 5  
 import org.webslinger.bsf.Compiler;
 6  
 import org.webslinger.bsf.Key;
 7  
 
 8  0
 public final class JavaclassObjectKey extends Key<Class<Object>> {
 9  
     public JavaclassObjectKey(Object object) {
 10  0
         super(object);
 11  0
     }
 12  
 
 13  
     public Object getObject() {
 14  0
         return getId();
 15  
     }
 16  
 
 17  
     public <V> Class<Object> compile(Compiler<V, Class<Object>> compiler, Compiler<V, Class<Object>>.CompilerContext context) throws BSFException {
 18  0
         return ((JavaclassCompiler) compiler).compileKey(this, context);
 19  
     }
 20  
 }