Skip to content

Commit

Permalink
Empty commit to start the discussion
Browse files Browse the repository at this point in the history
  • Loading branch information
pvojtechovsky committed Nov 14, 2016
1 parent a98b96d commit 28a0f95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ CtType<?> createType(TypeDeclaration typeDeclaration) {
if (typeDeclaration.superclass != null && typeDeclaration.superclass.resolvedType != null && typeDeclaration.enclosingType != null && !new String(
typeDeclaration.superclass.resolvedType.qualifiedPackageName()).equals(new String(typeDeclaration.binding.qualifiedPackageName()))) {

// Sorry for this hack but see the test case ImportTest#testImportOfAnInnerClassInASuperClassPackage.
// Sorry for this hack but see the test case ImportTest#testImportOfAnInnerClassInASuperClassPackage.
// JDT isn't smart enough to return me a super class available. So, I modify their AST when
// superclasses aren't in the same package and when their visibilities are "default".
List<ModifierKind> modifiers = Arrays.asList(ModifierKind.PUBLIC, ModifierKind.PROTECTED);
Expand Down

0 comments on commit 28a0f95

Please # to comment.