Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package net.java.ao.schema;
 
 
 public final class IsAFieldNameResolver extends AbstractFieldNameResolver
 {
     public IsAFieldNameResolver()
     {
         super(true);
    }
    public boolean accept(Method method)
    {
        return method.getName().startsWith("is");
    }
    public String resolve(Method method)
    {
        return method.getName().substring(2);
    }
New to GrepCode? Check out our FAQ X