Author: tchemit Date: 2011-10-13 15:34:53 +0200 (Thu, 13 Oct 2011) New Revision: 1105 Url: http://nuiton.org/repositories/revision/eugene/1105 Log: add javadoc Modified: trunk/eugene/src/main/java/org/nuiton/eugene/java/ObjectModelTransformerToJava.java Modified: trunk/eugene/src/main/java/org/nuiton/eugene/java/ObjectModelTransformerToJava.java =================================================================== --- trunk/eugene/src/main/java/org/nuiton/eugene/java/ObjectModelTransformerToJava.java 2011-10-13 13:31:03 UTC (rev 1104) +++ trunk/eugene/src/main/java/org/nuiton/eugene/java/ObjectModelTransformerToJava.java 2011-10-13 13:34:53 UTC (rev 1105) @@ -852,10 +852,28 @@ buffer.append("\");"); } + /** + * Checks if the classifier fully qualified name is in class-path and log a + * message that fqn will not generated if found + * + * @param classifier classifier to test + * @return {@code true} if fqn of classifier was found in class-path, + * {@code false} otherwise. + * @since 2.5 + */ protected boolean isInClassPath(ObjectModelClassifier classifier) { return isInClassPath(classifier.getQualifiedName()); } - + + /** + * Checks if the given fully qualified name is in class-path and log a + * message that fqn will not generated if found. + * + * @param fqn fully qualified name to test + * @return {@code true} if fqn was found in class-path, + * {@code false} otherwise. + * @since 2.5 + */ protected boolean isInClassPath(String fqn) { URL fileLocation = getFileInClassPath(fqn);