public static boolean hasPossibleStaticProperty(ClassNode candidate,String methodName){
  if (!methodName.startsWith("get") && !methodName.startsWith("is")) {
    return false;
  }
  String propName=getPropNameForAccessor(methodName);
  PropertyNode pNode=getStaticProperty(candidate,propName);
  return pNode != null && (methodName.startsWith("get") || boolean_TYPE.equals(pNode.getType()));
}

public static boolean hasPossibleStaticProperty ( ClassNode candidate , String methodName ) { if ( ! methodName . startsWith ( "get" ) && ! methodName . startsWith ( "is" ) ) { return false ; } String propName = getPropNameForAccessor ( methodName ) ; PropertyNode pNode = getStaticProperty ( candidate , propName ) ; return pNode != null && ( methodName . startsWith ( "get" ) || boolean_TYPE . equals ( pNode . getType ( ) ) ) ; }
return true if we have a static accessor
