View | Details | Raw Unified | Return to bug 156168 | Differences between
and this patch

Collapse All | Expand All

(-)model/org/eclipse/jdt/core/IType.java (-6 / +11 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2006 IBM Corporation and others.
2
 * Copyright (c) 2000, 2007 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 402-407 Link Here
402
	 * including qualification for any containing types and packages.
402
	 * including qualification for any containing types and packages.
403
	 * This is the name of the package, followed by <code>'.'</code>,
403
	 * This is the name of the package, followed by <code>'.'</code>,
404
	 * followed by the type-qualified name using the <code>enclosingTypeSeparator</code>.
404
	 * followed by the type-qualified name using the <code>enclosingTypeSeparator</code>.
405
	 * <br><b>Warning</b>: The <code>enclosingTypeSeparator</code> is
406
	 * <b>not</b> respected for binary types!
407
	 * <p>
405
	 * 
408
	 * 
406
	 * For example:
409
	 * For example:
407
	 * <ul>
410
	 * <ul>
Lines 410-416 Link Here
410
	 * <li>the fully qualified name of a class B defined as a member of a class A in a compilation unit A.java 
413
	 * <li>the fully qualified name of a class B defined as a member of a class A in a compilation unit A.java 
411
	 *     in a package x.y using the '$' separator is "x.y.A$B"</li>
414
	 *     in a package x.y using the '$' separator is "x.y.A$B"</li>
412
	 * <li>the fully qualified name of a binary type whose class file is x/y/A$B.class
415
	 * <li>the fully qualified name of a binary type whose class file is x/y/A$B.class
413
	 *     using the '.' separator is "x.y.A.B"</li>
416
	 *     using the '.' separator is "x.y.A$B"</li>
414
	 * <li>the fully qualified name of a binary type whose class file is x/y/A$B.class
417
	 * <li>the fully qualified name of a binary type whose class file is x/y/A$B.class
415
	 *     using the '$' separator is "x.y.A$B"</li>
418
	 *     using the '$' separator is "x.y.A$B"</li>
416
	 * <li>the fully qualified name of an anonymous binary type whose class file is x/y/A$1.class
419
	 * <li>the fully qualified name of an anonymous binary type whose class file is x/y/A$1.class
Lines 427-433 Link Here
427
	String getFullyQualifiedName(char enclosingTypeSeparator);
430
	String getFullyQualifiedName(char enclosingTypeSeparator);
428
	
431
	
429
	/**
432
	/**
430
	 * Returns this type's fully qualified name followed by its type parameters between angle brakets if it is a generic type.
433
	 * Returns this type's fully qualified name followed by its type parameters between angle brackets if it is a generic type.
431
	 * For example, "p.X&lt;T&gt;", "java.util.Map&lt;java.lang.String, p.X&gt;"
434
	 * For example, "p.X&lt;T&gt;", "java.util.Map&lt;java.lang.String, p.X&gt;"
432
	 * 
435
	 * 
433
	 * @exception JavaModelException if this element does not exist or if an
436
	 * @exception JavaModelException if this element does not exist or if an
Lines 655-661 Link Here
655
	 * but not including package qualification.
658
	 * but not including package qualification.
656
	 * For source types, this consists of the simple names of any enclosing types, 
659
	 * For source types, this consists of the simple names of any enclosing types, 
657
	 * separated by <code>'$'</code>, followed by the simple name of this type
660
	 * separated by <code>'$'</code>, followed by the simple name of this type
658
	 * or the occurence count of this type if it is anonymous.
661
	 * or the occurrence count of this type if it is anonymous.
659
	 * For binary types, this is the name of the class file without the ".class" suffix.
662
	 * For binary types, this is the name of the class file without the ".class" suffix.
660
	 * This is a handle-only method.
663
	 * This is a handle-only method.
661
	 * 
664
	 * 
Lines 669-677 Link Here
669
	 * but not including package qualification.
672
	 * but not including package qualification.
670
	 * For source types, this consists of the simple names of any enclosing types, 
673
	 * For source types, this consists of the simple names of any enclosing types, 
671
	 * separated by <code>enclosingTypeSeparator</code>, followed by the 
674
	 * separated by <code>enclosingTypeSeparator</code>, followed by the 
672
	 * simple name of this type  or the occurence count of this type if it is anonymous.
675
	 * simple name of this type  or the occurrence count of this type if it is anonymous.
673
	 * For binary types, this is the name of the class file without the ".class" suffix.
676
	 * For binary types, this is the name of the class file without the ".class" suffix.
674
	 * 
677
	 * <br><b>Warning</b>: this means that <code>enclosingTypeSeparator</code> is
678
	 * <b>not</b> respected for binary types!
679
	 * <p>
675
	 * For example:
680
	 * For example:
676
	 * <ul>
681
	 * <ul>
677
	 * <li>the type qualified name of a class B defined as a member of a class A
682
	 * <li>the type qualified name of a class B defined as a member of a class A

Return to bug 156168