Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.dynjs.runtime.linker.java;
 
 public class JavaTypes {
     
     public static Object coerceTo(Object valueClass<?> type) {
         if ( value == null ) {
             return value;
         }
         if ( type.isAssignableFromvalue.getClass() ) ) {
            return value;
        }
        
        return null;
    }
New to GrepCode? Check out our FAQ X