Quellcode durchsuchen

update todo list

Ranides Atterwim vor 2 Jahren
Ursprung
Commit
a0398e81e3

+ 0 - 2
assira.core/src/main/java/net/ranides/assira/reflection/IClass.java

@@ -134,8 +134,6 @@ public interface IClass<T> extends IElement, Comparable<IClass<?>> {
     /**
      * Factory: creates IClass for class with provided fully qualified name
      *
-     * @todo #92 support syntax for generics
-     *
      * @param type type
      * @return IClass
      */

+ 0 - 5
assira.core/src/main/java/net/ranides/assira/reflection/impl/RWClass.java

@@ -112,10 +112,6 @@ public class RWClass<T> extends AClass<T> implements Serializable {
     @SuppressWarnings("unchecked")
     @Override
     public Class<T> raw() {
-        // @todo "raw": we can do better, if we have only 1 "extends" type, we can return it
-        // maybe we should add another method like "bounded"?
-        // it is not defined very well, because we can extend more than one type and
-        // we should use just "isSubclass"
         return (Class)Object.class;
     }
 
@@ -126,7 +122,6 @@ public class RWClass<T> extends AClass<T> implements Serializable {
 
     @Override
     public String name() {
-        // @todo #94 wilcard name
         return type.getTypeName();
     }
     

+ 0 - 6
assira.core/src/main/java/net/ranides/assira/reflection/impl/bean/RBeanMethods.java

@@ -41,12 +41,6 @@ public class RBeanMethods implements BeanMethod, Serializable {
         return methods[0].parent();
     }
 
-    // @todo refine BeanMethod.returns/arguments for overloaded methods
-    //
-    // maybe we should implement something tricky like... composite IClass for returns?
-    // something like composite arguments for arguments?
-    // or we should put error into validation
-
     @Override
     public IClass<?> returns() {
         return IClass.OBJECT;

+ 0 - 1
assira.core/src/main/java/net/ranides/assira/reflection/util/ReflectUtils.java

@@ -43,7 +43,6 @@ public final class ReflectUtils {
      * @return object
      */
     public static <T extends AccessibleObject> T access(T object) {
-        // @todo replace object.isAccessible() by object.canAccess() for JDK 9+
         if( object.isAccessible() ) {
             return object;
         }