Skip to content

Commit 68f143a

Browse files
committed
javadoc fixup
analysis: some fixup
1 parent 5d8e6f9 commit 68f143a

File tree

141 files changed

+1403
-1369
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+1403
-1369
lines changed

pom.xml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23
<modelVersion>4.0.0</modelVersion>
34

45
<groupId>com.scriptbasic</groupId>
@@ -43,6 +44,32 @@
4344
</properties>
4445
<build>
4546
<plugins>
47+
<plugin>
48+
<groupId>org.apache.maven.plugins</groupId>
49+
<artifactId>maven-source-plugin</artifactId>
50+
<version>3.0.1</version>
51+
<executions>
52+
<execution>
53+
<id>attach-sources</id>
54+
<goals>
55+
<goal>jar</goal>
56+
</goals>
57+
</execution>
58+
</executions>
59+
</plugin>
60+
<plugin>
61+
<groupId>org.apache.maven.plugins</groupId>
62+
<artifactId>maven-javadoc-plugin</artifactId>
63+
<version>3.0.1</version>
64+
<executions>
65+
<execution>
66+
<id>attach-javadocs</id>
67+
<goals>
68+
<goal>jar</goal>
69+
</goals>
70+
</execution>
71+
</executions>
72+
</plugin>
4673
<plugin>
4774
<groupId>org.apache.maven.plugins</groupId>
4875
<artifactId>maven-compiler-plugin</artifactId>

src/main/java/com/scriptbasic/api/BasicFunction.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
/**
2424
* The alias name of the function to be used in the BASIC program. If this
2525
* is not defined then the name of the method will be used.
26+
*
27+
* @return value
2628
*/
2729
String alias() default "";
2830

@@ -69,13 +71,17 @@
6971
* <p>
7072
* The actual value of the actual version is defined as a constant:
7173
* {@link ExtensionInterfaceVersion#EXTENSION_INTERFACE_VERSION}.
74+
*
75+
* @return value
7276
*/
7377
long requiredVersion() default 1;
7478

7579
/**
7680
* The different methods can be classified and the configuration of the
7781
* actual interpreter registers or denies the registration of certain methods
7882
* based on the classification.
83+
*
84+
* @return value
7985
*/
8086
Class<?>[] classification() default BasicFunction.class;
8187

@@ -85,12 +91,16 @@
8591
* annotations. Using this annotation parameter you can specify an
8692
* alternative class where the method you want to register instead of the
8793
* annotated one is.
94+
*
95+
* @return value
8896
*/
8997
Class<?> substituteClass() default BasicFunction.class;
9098

9199
/**
92100
* Using this parameter you can specify an alternative method instead of the
93101
* annotated one. See the documentation of {@link #substituteClass()}.
102+
*
103+
* @return value
94104
*/
95105
String substituteMethod() default "";
96106
}

src/main/java/com/scriptbasic/api/Configuration.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ default Stream<String> getConfigValueStream(final String key) {
7373
* using the notation {@code key}'.n' where 'n' starts with zero and should
7474
* increment by one continuously.
7575
*
76-
* @param key
76+
* @param key parameter
7777
* @return the list of configured strings
7878
*/
7979
List<String> getConfigValueList(final String key);
@@ -95,20 +95,21 @@ default Stream<String> getConfigValueStream(final String key) {
9595
/**
9696
* Set the property value in the configuration. This method is available for host application to
9797
* configure the interpreter programmatically.
98-
* @param name configuration property name
98+
*
99+
* @param name configuration property name
99100
* @param value configuration property value
100101
*/
101102
void set(final String name, final String value);
102103

103104
/**
104105
* Set the property value in the configuration. This method is available for host application to
105106
* configure the interpreter programmatically.
107+
*
106108
* @param command the name and the value separated by '='
107109
*/
108110
void set(final String command);
109111

110112
/**
111-
*
112113
* @return the properties object that stores the configuration
113114
*/
114115
Properties getConfigProperties();

0 commit comments

Comments
 (0)