TypeMirror void is not a PrimitiveType since java 8 -


i'm migrating java 7 project java 8. there method doing this:

if(type instanceof primitivetype){    primirivetype type = (primitivetype) type;    ... } 

in java 7 void type instance of primitivetype, since java 8 has changed.

why had changed? , interface define void types in java 8?

thanks in advance, juan

the void type represented javax.lang.model.type.notype. in java 7, primitivetype includes boolean, byte, short, int, long, char, float, , double.


Comments