Skip to content

Commit

Permalink
Added missing Javadoc tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire committed Nov 2, 2024
1 parent 431d3c4 commit ff7110e
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ public IBoundModule registerModule(
*
* @param moduleClass
* the Module class
* @param bindingContext
* the Metaschema binding context used to lookup binding information
* @return the new Module instance
*/
@NonNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ public final IBoundModule registerModule(@NonNull Class<? extends IBoundModule>
* Get the binding matchers that are associated with this class.
*
* @return the list of matchers
* @see #registerBindingMatcher(Class)
* @see #registerBindingMatcher(IBoundDefinitionModelAssembly)
*/
@NonNull
protected Collection<IBindingMatcher> getBindingMatchers() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,6 @@ default IConstraintLoader newConstraintLoader() {
*
* @param module
* the Module module to generate classes for
* @param compilePath
* the path to the directory to generate classes in
* @return the registered module, which may be a different instance than what
* was provided if dynamic compilation was performed
* @throws UnsupportedOperationException
Expand Down Expand Up @@ -304,7 +302,6 @@ default IBoundModule registerModule(@NonNull IModule module) {
* @param rootQName
* the root XML element's QName
* @return the bound class or {@code null} if not recognized
* @see IBindingContext#registerBindingMatcher(Class)
*/
@Nullable
Class<? extends IBoundObject> getBoundClassForRootXmlQName(@NonNull QName rootQName);
Expand All @@ -316,7 +313,6 @@ default IBoundModule registerModule(@NonNull IModule module) {
* @param rootName
* the JSON/YAML property/item name
* @return the bound class or {@code null} if not recognized
* @see IBindingContext#registerBindingMatcher(Class)
*/
@Nullable
Class<? extends IBoundObject> getBoundClassForRootJsonName(@NonNull String rootName);
Expand Down Expand Up @@ -830,7 +826,8 @@ default IValidationResult validateWithSchema(
switch (asFormat) {
case JSON: {
JSONObject json;
try (@SuppressWarnings("resource") InputStream is
try (@SuppressWarnings("resource")
InputStream is
= new BufferedInputStream(ObjectUtils.notNull(targetResource.openStream()))) {
json = new JSONObject(new JSONTokener(is));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ protected List<String> generateCompilerOptions() {
/**
* Generate and compile Java classes.
*
* @param classDir
* the directory to generate the classes in
* @param classFiles
* the files to compile
* @param compileOut
* a Writer for additional output from the compiler; use System.err if
* null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ public final class DefinitionAssembly
*
* @param clazz
* the class the assembly is bound to
* @param annotation
* the binding annotation associated with this class
* @param module
* the module containing this class
* @param bindingContext
* the Metaschema binding context managing this class used to lookup
* binding information
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ private static Field getFieldValueField(Class<?> clazz) {
*
* @param clazz
* the Java class the definition is bound to
* @param annotation
* the binding annotation associated with this class
* @param module
* the module containing this class
* @param bindingContext
* the Metaschema binding context managing this class used to lookup
* binding information
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ public class BindingModuleLoader
*
* @param bindingContext
* the Metaschema binding context used to load bound resources
* @param postProcessor
* the post processor to use when after loading a module
*/
public BindingModuleLoader(
@NonNull IBindingContext bindingContext,
Expand Down

0 comments on commit ff7110e

Please sign in to comment.