public boolean enclosesFineGrained(IJavaElement element){
  if ((this.subTypes == null) && this.allowMemberAndEnclosingTypes)   return true;
  return encloses(element,null);
}

public boolean enclosesFineGrained ( IJavaElement element ) { if ( ( this . subTypes == null ) && this . allowMemberAndEnclosingTypes ) return true ; return encloses ( element , null ) ; }
optionally perform additional checks after element has already passed matching based on index / documents .
