Rato

Results 43 comments of Rato

You need to use the option: `-m, --min-score INTEGER RANGE Minimum score for a subtitle to be downloaded (0 to 100).`

You first need to define a minimum score to avoid downloading subtitles out of sync: ``` -m, --min-score INTEGER RANGE Minimum score for a subtitle to be downloaded (0 to...

Those 2 links were moved: 404

Some information about `checkcast` The compiler might add some checkcast instructions: ```bytecode void foobar(java.lang.Object); Code: 0: aload_1 1: invokestatic #29 // Method com/foobar/SomeClass.of:(Ljava/lang/Object;)Lcom/foobar/SomeClass; 4: ldc #35 // class java/lang/Boolean 6:...

Also bridge methods will have more compiler `checkcast` instructions

Detecting casts are also useful when working with polymorphism in hibernate, where instanceof and direct casts should not be used due to hibernate proxies. Having this feature in archunit would...

@Kaammill @codecholeric any update on this one? Is anything from code review missing apart from tests? I might be able to contribute if possible.

I have a case which might be related: ``` MyClass.class.isAssignableFrom(someOtherType) ``` This case: * the access target is `java.lang.Class.isAssignableFrom(java.lang.Class)` * the access target resolveMember is `JavaMethod{java.lang.Class.isAssignableFrom(java.lang.Class)}` There's no way to...

I just changed my mind about not considering `FooBar.class.cast(obj)` as a type cast. Using existing archunit API, it's not possible to detect which class cast `FooBar.class.cast(obj)` refers to, since the...

> And with the current logic I see zero TypeCasts. That doesn't seem like we want (even though the code is a little crazy), right? I'm revisiting the code now...