You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class ClassWithTypeAnnotations // implements clause:
implements @TypeAnno1 ClassWithTypeParam<@TypeAnno2 T> {
// Class instance creation expression:
private Object x = new @TypeAnno3 Object();
private @TypeAnno6 Object str = "Hallo";
// Type cast:
public String myString = (@TypeAnno4 String) str;
// Thrown exception declaration:
public void throwsAnnotatedException() throws @TypeAnno5 SQLException {
}
@Override
public @TypeAnno2 T doSomething() {
try{
@TypeAnno8 String local = new String();
} catch (@TypeAnno7 RuntimeException re){
}
return null;
}
}
there should be dependencies from ClassWithTypeAnnotations to TypeAnno8 and TypeAnno7
but there aren't. So annotations on local variables and on catch blocks don't get found properly.
The text was updated successfully, but these errors were encountered:
There were two tests failing because certain types of dependencies don't get detected.
In order to get a clean build again I removed the tests and created #91 for it in order to fix it later.
Given the following class:
public class ClassWithTypeAnnotations // implements clause:
implements @TypeAnno1 ClassWithTypeParam<@TypeAnno2 T> {
}
there should be dependencies from
ClassWithTypeAnnotations
toTypeAnno8
andTypeAnno7
but there aren't. So annotations on local variables and on catch blocks don't get found properly.
The text was updated successfully, but these errors were encountered: