File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
jvm/src/main/scala/org/portablescala/reflect Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,17 @@ package org.portablescala.reflect
22
33import java .lang .reflect .InvocationTargetException
44
5- /**
6- * A wrapper for a class that can be instantiated.
5+ /** A wrapper for a class that can be instantiated.
76 *
87 * @param runtimeClass
98 * The `java.lang.Class[_]` representing the class.
109 */
1110final class InstantiatableClass private [reflect] (val runtimeClass : Class [_]) {
12-
1311 /** A list of the public constructors declared in this class. */
1412 val declaredConstructors : List [InvokableConstructor ] =
15- runtimeClass.getConstructors.map(new InvokableConstructor (_)).toList
13+ runtimeClass.getConstructors() .map(new InvokableConstructor (_)).toList
1614
17- /**
18- * Instantiates this class using its zero-argument constructor.
15+ /** Instantiates this class using its zero-argument constructor.
1916 *
2017 * @throws java.lang.InstantiationException
2118 * (caused by a `NoSuchMethodException`)
You can’t perform that action at this time.
0 commit comments