Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2005, 2010 IBM Corporation and others. |
2 |
* Copyright (c) 2005, 2011 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 731-736
Link Here
|
731 |
if (!this.scanner.isAtMemberTypeStart() || this.scanner.nextToken() != Scanner.TYPE) |
731 |
if (!this.scanner.isAtMemberTypeStart() || this.scanner.nextToken() != Scanner.TYPE) |
732 |
return; |
732 |
return; |
733 |
char[] typeName = this.scanner.getTokenSource(); |
733 |
char[] typeName = this.scanner.getTokenSource(); |
|
|
734 |
// Might not actually be an inner type but came here as a consequence of '$' being present in type name |
735 |
if (typeName.length == 0) |
736 |
return; |
734 |
if (Character.isDigit(typeName[0])) { |
737 |
if (Character.isDigit(typeName[0])) { |
735 |
// anonymous or local type |
738 |
// anonymous or local type |
736 |
int nextToken = Scanner.TYPE; |
739 |
int nextToken = Scanner.TYPE; |