Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package us.codecraft.forger.property;
 
 import java.util.List;
 import java.util.Map;

Author(s):
code4crafter@gmail.com
 
 public enum PropertyType {
    PropertyString,PropertyMap,PropertyList;
    public static PropertyType from(Class clazz){
        if (Map.class.isAssignableFrom(clazz)){
            return ;
        }
        if (List.class.isAssignableFrom(clazz)){
            return ;
        }
        return ;
    }
New to GrepCode? Check out our FAQ X