@@ -44,6 +44,7 @@ public class Sources {
4444 * Read the first {@link TypeDef} instance from an {@link InputStream}.
4545 *
4646 * @param path the {@link Path}
47+ * @param ctx the {@link AdapterContext}
4748 * @return the first {@link TypeDef} instance, or throw an exception if none is found.
4849 */
4950 public static TypeDef readTypeDefFromPath (Path path , AdapterContext ctx ) {
@@ -58,6 +59,7 @@ public static TypeDef readTypeDefFromPath(Path path, AdapterContext ctx) {
5859 * Read the first {@link TypeDef} instance from an {@link InputStream}.
5960 *
6061 * @param is the {@link InputStream}
62+ * @param ctx the {@link AdapterContext}
6163 * @return the first {@link TypeDef} instance, or throw an exception if none is found.
6264 */
6365 public static TypeDef readTypeDefFromStream (InputStream is , AdapterContext ctx ) {
@@ -68,6 +70,7 @@ public static TypeDef readTypeDefFromStream(InputStream is, AdapterContext ctx)
6870 * Read a {@link List} of {@link TypeDef} instances from an {@link InputStream}.
6971 *
7072 * @param is the {@link InputStream}
73+ * @param ctx the {@link AdapterContext}
7174 * @return a {@link List} of {@link TypeDef} instances.
7275 */
7376 public static List <TypeDef > readTypeDefsFromStream (InputStream is , AdapterContext ctx ) {
@@ -99,7 +102,7 @@ public static TypeDeclaration<?> readTypeFromStream(InputStream is) {
99102 /**
100103 * Read a {@link List} of {@link TypeDeclaration} instances from a classpath resource.
101104 *
102- * @param resourceName the {@link InputStream}
105+ * @param resourceName the classpath resource name
103106 * @return a {@link List} of {@link TypeDeclaration} instances.
104107 */
105108 public static List <TypeDeclaration <?>> readTypesFromResource (String resourceName ) {
@@ -110,7 +113,7 @@ public static List<TypeDeclaration<?>> readTypesFromResource(String resourceName
110113 /**
111114 * Read a {@link TypeDeclaration} instance from a classpath resource.
112115 *
113- * @param resourceName the {@link InputStream}
116+ * @param resourceName the classpath resource name
114117 * @return the {@link TypeDeclaration} instance.
115118 */
116119 public static TypeDeclaration <?> readTypeFromResource (String resourceName ) {
@@ -120,7 +123,7 @@ public static TypeDeclaration<?> readTypeFromResource(String resourceName) {
120123 /**
121124 * Read the first {@link TypeDef} instance from a classpath resource.
122125 *
123- * @param resourceName the {@link InputStream}
126+ * @param resourceName the classpath resource name
124127 * @param ctx the {@link AdapterContext}
125128 * @return the first {@link TypeDef} instance, or throw an exception if none is found.
126129 */
@@ -132,7 +135,8 @@ public static TypeDef readTypeDefFromResource(String resourceName, AdapterContex
132135 /**
133136 * Read a {@link List} of {@link TypeDef} instances from a classpath resource.
134137 *
135- * @param resourceName the {@link InputStream}
138+ * @param resourceName the resource name
139+ * @param ctx the {@link AdapterContext}
136140 * @return a {@link List} of {@link TypeDef} instances.
137141 */
138142 public static List <TypeDef > readTypeDefsFromResource (String resourceName , AdapterContext ctx ) {
0 commit comments