question: private static boolean shouldIncludeField ( FieldDoc field , String accessType ) { if ( field . isStatic ( ) || AnnotationUtils . hasAnnotation ( field , KnownAnnotations . XMLTransient_Annotation ) || AnnotationUtils . hasAnnotation ( field , KnownAnnotations . XMLAttribute_Annotation ) ) { return false ; } if ( accessType . equals ( "FIELD" ) ) { return ! field . isStatic ( ) && ! field . isTransient ( ) ; } else if ( accessType . equals ( "PUBLIC_MEMBER" ) ) { return field . isPublic ( ) ; } else if ( accessType . equals ( "PROPERTY" ) ) { return false ; } else if ( accessType . equals ( "NONE" ) ) { return false ; } return false ; }
target:  Returns true of false if the fields should be included based on the accessType 