ciera / crystalsaf

Automatically exported from code.google.com/p/crystalsaf
3 stars 2 forks source link

Use ASTParser.createASTs and ASTRequestor instead of calling ASTParser.createAST #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When we call ASTParser.createAST, we can't compare ITypeBindings using
isSubtypeCompatible because they came from different ASTs. However, if we
switch to createASTs, we will get binding keys which can be turned into
IBindings that are compatible for comparison. That's the theory, anyway.

Original issue reported on code.google.com by ciera.christopher on 25 Sep 2008 at 4:01

GoogleCodeExporter commented 9 years ago
Fixed this problem by providing a utilit called "TypeHierarchy" that will allow 
you
to look up the subtype compatility of two strings.

Original comment by ciera.christopher on 24 Oct 2009 at 9:37