mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
Bug 559800 - Content in cdt.doc.isv badly outdated and broken
Fix javadoc tags. Change-Id: I95a6720777797b4449509f29d00ce836a7c9e103 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
This commit is contained in:
parent
822dc3d68b
commit
4d6ecb4f20
46 changed files with 64 additions and 140 deletions
|
@ -44,7 +44,7 @@ public interface ILanguage extends IAdaptable {
|
||||||
public final static int OPTION_SKIP_FUNCTION_BODIES = 0x1;
|
public final static int OPTION_SKIP_FUNCTION_BODIES = 0x1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated, Has no effect.
|
* @deprecated Has no effect.
|
||||||
* @noreference This field is not intended to be referenced by clients.
|
* @noreference This field is not intended to be referenced by clients.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
@ -58,7 +58,7 @@ public interface ILanguage extends IAdaptable {
|
||||||
public final static int OPTION_NO_IMAGE_LOCATIONS = 0x4;
|
public final static int OPTION_NO_IMAGE_LOCATIONS = 0x4;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated, Has no effect.
|
* @deprecated Has no effect.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public final static int OPTION_IS_SOURCE_UNIT = 0x8;
|
public final static int OPTION_IS_SOURCE_UNIT = 0x8;
|
||||||
|
|
|
@ -27,11 +27,11 @@ public interface IPathEntryContainerExtension extends IPathEntryContainer {
|
||||||
* and empty array if none.
|
* and empty array if none.
|
||||||
*
|
*
|
||||||
* @param path Workspace relative path.
|
* @param path Workspace relative path.
|
||||||
* @param typeMask type of path entries:
|
* @param typesMask type of path entries:<ul>
|
||||||
* <li><code>IPathEntry.CDT_INCLUDE</code></li>
|
* <li><code>IPathEntry.CDT_INCLUDE</code></li>
|
||||||
* <li><code>IPathEntry.CDT_INCLUDE_FILE</code></li>
|
* <li><code>IPathEntry.CDT_INCLUDE_FILE</code></li>
|
||||||
* <li><code>IPathEntry.CDT_MACRO_FILE</code></li>
|
* <li><code>IPathEntry.CDT_MACRO_FILE</code></li>
|
||||||
* <li><code>IPathEntry.CDT_MACRO</code></li>
|
* <li><code>IPathEntry.CDT_MACRO</code></li></ul>
|
||||||
* @return IPathEntry[] - the entries or empty set if none
|
* @return IPathEntry[] - the entries or empty set if none
|
||||||
* @see IPathEntry
|
* @see IPathEntry
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -169,7 +169,7 @@ public interface ITranslationUnit extends ICElement, IParent, IOpenable, ISource
|
||||||
/**
|
/**
|
||||||
* Creates and returns a namespace in this translation unit
|
* Creates and returns a namespace in this translation unit
|
||||||
*
|
*
|
||||||
* @param name the name of the namespace
|
* @param namespace the name of the namespace
|
||||||
* @param monitor the progress monitor to notify
|
* @param monitor the progress monitor to notify
|
||||||
* @return the newly inserted namespace declaration (or the previously existing one in case
|
* @return the newly inserted namespace declaration (or the previously existing one in case
|
||||||
* attempting to create a duplicate)
|
* attempting to create a duplicate)
|
||||||
|
@ -189,8 +189,6 @@ public interface ITranslationUnit extends ICElement, IParent, IOpenable, ISource
|
||||||
* <p>
|
* <p>
|
||||||
* Users of this method must not destroy the resulting working copy.
|
* Users of this method must not destroy the resulting working copy.
|
||||||
*
|
*
|
||||||
* @param bufferFactory
|
|
||||||
* the given {@code IBuffer} factory
|
|
||||||
* @return the found shared working copy for this element, or {@code null} if none
|
* @return the found shared working copy for this element, or {@code null} if none
|
||||||
* @see IBufferFactory
|
* @see IBufferFactory
|
||||||
* @since 5.1
|
* @since 5.1
|
||||||
|
@ -225,7 +223,7 @@ public interface ITranslationUnit extends ICElement, IParent, IOpenable, ISource
|
||||||
* unit itself at the given position, or if the given position is not
|
* unit itself at the given position, or if the given position is not
|
||||||
* within the source range of this translation unit.
|
* within the source range of this translation unit.
|
||||||
*
|
*
|
||||||
* @param position a source position inside the translation unit
|
* @param offset a source position inside the translation unit
|
||||||
* @return the innermost C element enclosing a given source position or {@code null}
|
* @return the innermost C element enclosing a given source position or {@code null}
|
||||||
* if none (excluding the translation unit).
|
* if none (excluding the translation unit).
|
||||||
* @exception CModelException if the translation unit does not exist or if an
|
* @exception CModelException if the translation unit does not exist or if an
|
||||||
|
@ -241,7 +239,7 @@ public interface ITranslationUnit extends ICElement, IParent, IOpenable, ISource
|
||||||
* within the source range of this translation unit.
|
* within the source range of this translation unit.
|
||||||
* You have this behavior when at expansion of a macro.
|
* You have this behavior when at expansion of a macro.
|
||||||
*
|
*
|
||||||
* @param position a source position inside the translation unit
|
* @param offset a source position inside the translation unit
|
||||||
* @return the innermost C element enclosing a given source position or {@code null}
|
* @return the innermost C element enclosing a given source position or {@code null}
|
||||||
* if none (excluding the translation unit).
|
* if none (excluding the translation unit).
|
||||||
* @exception CModelException if the translation unit does not exist or if an
|
* @exception CModelException if the translation unit does not exist or if an
|
||||||
|
@ -254,7 +252,7 @@ public interface ITranslationUnit extends ICElement, IParent, IOpenable, ISource
|
||||||
/**
|
/**
|
||||||
* Returns the include declaration in this translation unit with the given name.
|
* Returns the include declaration in this translation unit with the given name.
|
||||||
*
|
*
|
||||||
* @param the name of the include to find (For example: {@code "stdio.h"}
|
* @param name the name of the include to find (For example: {@code "stdio.h"}
|
||||||
* or {@code "sys/types.h"})
|
* or {@code "sys/types.h"})
|
||||||
* @return a handle onto the corresponding include declaration. The include declaration may or
|
* @return a handle onto the corresponding include declaration. The include declaration may or
|
||||||
* may not exist.
|
* may not exist.
|
||||||
|
@ -519,7 +517,7 @@ public interface ITranslationUnit extends ICElement, IParent, IOpenable, ISource
|
||||||
Map<?, ?> parse();
|
Map<?, ?> parse();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated, use {@link FileContent#create(ITranslationUnit)}, instead.
|
* @deprecated Use {@link FileContent#create(ITranslationUnit)}, instead.
|
||||||
* @noreference This method is not intended to be referenced by clients.
|
* @noreference This method is not intended to be referenced by clients.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -130,7 +130,7 @@ public interface IWorkingCopy extends ITranslationUnit {
|
||||||
* @param forceProblemDetection The boolean argument allows to force problem
|
* @param forceProblemDetection The boolean argument allows to force problem
|
||||||
* detection even if the working copy is already consistent.
|
* detection even if the working copy is already consistent.
|
||||||
* @param monitor a progress monitor
|
* @param monitor a progress monitor
|
||||||
* @throw CModelException if the contents of the original element
|
* @throws CModelException if the contents of the original element
|
||||||
* cannot be accessed
|
* cannot be accessed
|
||||||
*/
|
*/
|
||||||
void reconcile(boolean forceProblemDetection, IProgressMonitor monitor) throws CModelException;
|
void reconcile(boolean forceProblemDetection, IProgressMonitor monitor) throws CModelException;
|
||||||
|
@ -157,7 +157,7 @@ public interface IWorkingCopy extends ITranslationUnit {
|
||||||
* detection even if the working copy is already consistent.
|
* detection even if the working copy is already consistent.
|
||||||
* @param monitor a progress monitor
|
* @param monitor a progress monitor
|
||||||
* @return the AST or <code>null</code>
|
* @return the AST or <code>null</code>
|
||||||
* @throw CModelException if the contents of the original element
|
* @throws CModelException if the contents of the original element
|
||||||
* cannot be accessed
|
* cannot be accessed
|
||||||
*
|
*
|
||||||
* @since 4.0
|
* @since 4.0
|
||||||
|
|
|
@ -234,10 +234,10 @@ public interface ICConfigurationDescription extends ICSettingContainer, ICSettin
|
||||||
* If the current configuration does not reference any other configurations,
|
* If the current configuration does not reference any other configurations,
|
||||||
* an empty map is returned.
|
* an empty map is returned.
|
||||||
*
|
*
|
||||||
* @return Map<String,String> of referenced Project -> Configuration ID
|
* @return Map<String,String> of referenced Project -> Configuration ID
|
||||||
* @see {@link #setReferenceInfo(Map)} <br/>
|
* @see #setReferenceInfo(Map)
|
||||||
* {@link #getExternalSettings()}<br/>
|
* @see #getExternalSettings()
|
||||||
* {@link #createExternalSetting(String[], String[], String[], ICSettingEntry[])}
|
* @see #createExternalSetting(String[], String[], String[], ICSettingEntry[])
|
||||||
*/
|
*/
|
||||||
Map<String, String> getReferenceInfo();
|
Map<String, String> getReferenceInfo();
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ public interface ICSettingsStorage {
|
||||||
* the specified id an empty storage is created and returned
|
* the specified id an empty storage is created and returned
|
||||||
* @throws CoreException
|
* @throws CoreException
|
||||||
*
|
*
|
||||||
* @see {@link ICStorageElement}
|
* @see ICStorageElement
|
||||||
*/
|
*/
|
||||||
ICStorageElement getStorage(String id, boolean create) throws CoreException;
|
ICStorageElement getStorage(String id, boolean create) throws CoreException;
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,6 @@ public interface OptionStorage {
|
||||||
* @param value to be saved, must not be <code>null</code>.
|
* @param value to be saved, must not be <code>null</code>.
|
||||||
* @param option the option metadata, must not be <code>null</code>.
|
* @param option the option metadata, must not be <code>null</code>.
|
||||||
*
|
*
|
||||||
* @return the option value or default value if option is unknown
|
|
||||||
* @throws UnsupportedOperationException for unsupported option value types
|
* @throws UnsupportedOperationException for unsupported option value types
|
||||||
*
|
*
|
||||||
* @see #consumable(Class)
|
* @see #consumable(Class)
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
package org.eclipse.cdt.core.dom.ast;
|
package org.eclipse.cdt.core.dom.ast;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated, use IASTMacroExpansionLocation instead
|
* @deprecated Use IASTMacroExpansionLocation instead
|
||||||
* @noreference This interface is not intended to be referenced by clients.
|
* @noreference This interface is not intended to be referenced by clients.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -67,7 +67,7 @@ public interface IProblemBinding extends IBinding, IScope, IType, ISemanticProbl
|
||||||
public static final int SEMANTIC_INVALID_TEMPLATE_ARGUMENTS = BINDING_INVALID_TEMPLATE_ARGUMENTS;
|
public static final int SEMANTIC_INVALID_TEMPLATE_ARGUMENTS = BINDING_INVALID_TEMPLATE_ARGUMENTS;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated, there may be additional problems.
|
* @deprecated There may be additional problems.
|
||||||
* @noreference This field is not intended to be referenced by clients.
|
* @noreference This field is not intended to be referenced by clients.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -17,7 +17,7 @@ package org.eclipse.cdt.core.dom.ast.cpp;
|
||||||
import org.eclipse.cdt.core.dom.ast.ASTNodeProperty;
|
import org.eclipse.cdt.core.dom.ast.ASTNodeProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated, use {@link ICPPASTFunctionWithTryBlock}, instead.
|
* @deprecated Use {@link ICPPASTFunctionWithTryBlock}, instead.
|
||||||
* @noreference This interface is not intended to be referenced by clients.
|
* @noreference This interface is not intended to be referenced by clients.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.eclipse.cdt.core.dom.ast.IBasicType;
|
||||||
*/
|
*/
|
||||||
public interface ICPPBasicType extends IBasicType {
|
public interface ICPPBasicType extends IBasicType {
|
||||||
/**
|
/**
|
||||||
* @deprecated, don't use the constant, more flags may be added for supporting future c++ standards.
|
* @deprecated Don't use the constant, more flags may be added for supporting future c++ standards.
|
||||||
* @noreference This field is not intended to be referenced by clients.
|
* @noreference This field is not intended to be referenced by clients.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -391,7 +391,7 @@ public interface ICPPNodeFactory extends INodeFactory {
|
||||||
/**
|
/**
|
||||||
* Creates a new translation unit that cooperates with the given scanner in order
|
* Creates a new translation unit that cooperates with the given scanner in order
|
||||||
* to track macro-expansions and location information.
|
* to track macro-expansions and location information.
|
||||||
* @scanner the preprocessor the translation unit interacts with.
|
* @param scanner the preprocessor the translation unit interacts with.
|
||||||
* @since 5.2
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.eclipse.cdt.core.dom.ast.IASTExpression;
|
||||||
*/
|
*/
|
||||||
public interface ICPPTemplateNonTypeParameter extends ICPPTemplateParameter, ICPPVariable {
|
public interface ICPPTemplateNonTypeParameter extends ICPPTemplateParameter, ICPPVariable {
|
||||||
/**
|
/**
|
||||||
* @deprecated, use {@link ICPPTemplateParameter#getDefaultValue()}.
|
* @deprecated Use {@link ICPPTemplateParameter#getDefaultValue()}.
|
||||||
* @noreference This method is not intended to be referenced by clients.
|
* @noreference This method is not intended to be referenced by clients.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -102,13 +102,13 @@ public abstract class AbstractCLikeLanguage extends AbstractLanguage implements
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @returns the actual parser object.
|
* @return the actual parser object.
|
||||||
*/
|
*/
|
||||||
protected abstract ISourceCodeParser createParser(IScanner scanner, ParserMode parserMode,
|
protected abstract ISourceCodeParser createParser(IScanner scanner, ParserMode parserMode,
|
||||||
IParserLogService logService, IIndex index);
|
IParserLogService logService, IIndex index);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @returns the actual parser object, configured with additional settings.
|
* @return the actual parser object, configured with additional settings.
|
||||||
* @since 5.6
|
* @since 5.6
|
||||||
*/
|
*/
|
||||||
protected ISourceCodeParser createParser(IScanner scanner, ParserMode parserMode, IParserLogService logService,
|
protected ISourceCodeParser createParser(IScanner scanner, ParserMode parserMode, IParserLogService logService,
|
||||||
|
|
|
@ -155,7 +155,7 @@ public interface IIndex {
|
||||||
*
|
*
|
||||||
* @param linkageID the id of the linkage in which the file has been parsed.
|
* @param linkageID the id of the linkage in which the file has been parsed.
|
||||||
* @param location the IIndexFileLocation representing the location of the file
|
* @param location the IIndexFileLocation representing the location of the file
|
||||||
* @param macroDictionary The names and definitions of the macros used to disambiguate between
|
* @param significantMacros The names and definitions of the macros used to disambiguate between
|
||||||
* variants of the file contents corresponding to different inclusion points.
|
* variants of the file contents corresponding to different inclusion points.
|
||||||
* @return the file for the location, or {@code null} if the file is not present in
|
* @return the file for the location, or {@code null} if the file is not present in
|
||||||
* the index
|
* the index
|
||||||
|
|
|
@ -36,9 +36,9 @@ public interface IContentAssistMatcher {
|
||||||
char[] getPrefixForBinarySearch();
|
char[] getPrefixForBinarySearch();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return If false, calling @{@link #match(char[])} can be skipped if a
|
* @return If false, calling {@link #match(char[])} can be skipped if a
|
||||||
* name survived a binary search using the prefix returned by
|
* name survived a binary search using the prefix returned by
|
||||||
* @{@link #getPrefixForBinarySearch()} as key.
|
* {@link #getPrefixForBinarySearch()} as key.
|
||||||
*/
|
*/
|
||||||
boolean matchRequiredAfterBinarySearch();
|
boolean matchRequiredAfterBinarySearch();
|
||||||
|
|
||||||
|
|
|
@ -229,9 +229,9 @@ public class SegmentMatcher {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return If false, calling @{@link #match(char[])} can be skipped if a
|
* @return If false, calling {@link #match(char[])} can be skipped if a
|
||||||
* name survived a binary search using the prefix returned by
|
* name survived a binary search using the prefix returned by
|
||||||
* @{@link #getPrefixForBinarySearch()} as key.
|
* {@link #getPrefixForBinarySearch()} as key.
|
||||||
*/
|
*/
|
||||||
public boolean matchRequiredAfterBinarySearch() {
|
public boolean matchRequiredAfterBinarySearch() {
|
||||||
return !singleSegment;
|
return !singleSegment;
|
||||||
|
|
|
@ -65,7 +65,7 @@ public interface IAddress extends Comparable<Object> {
|
||||||
/**
|
/**
|
||||||
* Returns whether this address equals the given object.
|
* Returns whether this address equals the given object.
|
||||||
*
|
*
|
||||||
* @param obj the other object
|
* @param addr the other object
|
||||||
* @return <code>true</code> if the addresses are equivalent,
|
* @return <code>true</code> if the addresses are equivalent,
|
||||||
* and <code>false</code> if they are not
|
* and <code>false</code> if they are not
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -45,8 +45,7 @@ public interface ICDescriptor {
|
||||||
* in the project
|
* in the project
|
||||||
* @param extensionPointID String extensionPointID
|
* @param extensionPointID String extensionPointID
|
||||||
* @return ICExtensionReference[] ICExtensionReference array
|
* @return ICExtensionReference[] ICExtensionReference array
|
||||||
* @deprecated
|
* @deprecated Use {@link ICConfigurationDescription#get(String)}
|
||||||
* @use {@link ICConfigurationDescription#get(String)}
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public ICExtensionReference[] get(String extensionPointID);
|
public ICExtensionReference[] get(String extensionPointID);
|
||||||
|
@ -74,8 +73,7 @@ public interface ICDescriptor {
|
||||||
* @param id
|
* @param id
|
||||||
* @return the create ICExtensionReference
|
* @return the create ICExtensionReference
|
||||||
* @throws CoreException
|
* @throws CoreException
|
||||||
* @deprecated
|
* @deprecated Use {@link ICConfigurationDescription#create(String, String)}
|
||||||
* @use {@link ICConfigurationDescription#create(String, String)}
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public ICExtensionReference create(String extensionPointID, String id) throws CoreException;
|
public ICExtensionReference create(String extensionPointID, String id) throws CoreException;
|
||||||
|
@ -84,8 +82,7 @@ public interface ICDescriptor {
|
||||||
* Remove a given ICExtensionReference from the project description.
|
* Remove a given ICExtensionReference from the project description.
|
||||||
* @param extension
|
* @param extension
|
||||||
* @throws CoreException
|
* @throws CoreException
|
||||||
* @deprecated
|
* @deprecated Use {@link ICConfigurationDescription#remove(org.eclipse.cdt.core.settings.model.ICConfigExtensionReference)}
|
||||||
* @use {@link ICConfigurationDescription#remove(org.eclipse.cdt.core.settings.model.ICConfigExtensionReference)}
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void remove(ICExtensionReference extension) throws CoreException;
|
public void remove(ICExtensionReference extension) throws CoreException;
|
||||||
|
@ -95,8 +92,7 @@ public interface ICDescriptor {
|
||||||
* this descriptor
|
* this descriptor
|
||||||
* @param extensionPoint
|
* @param extensionPoint
|
||||||
* @throws CoreException
|
* @throws CoreException
|
||||||
* @deprecated
|
* @deprecated Use {@link ICConfigurationDescription#remove(String)}
|
||||||
* @use {@link ICConfigurationDescription#remove(String)}
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void remove(String extensionPoint) throws CoreException;
|
public void remove(String extensionPoint) throws CoreException;
|
||||||
|
@ -117,9 +113,8 @@ public interface ICDescriptor {
|
||||||
* @param id an identifier that uniquely identifies the client
|
* @param id an identifier that uniquely identifies the client
|
||||||
* @return a non-null {@link Element} to which client specific meta-data may be attached
|
* @return a non-null {@link Element} to which client specific meta-data may be attached
|
||||||
* @throws CoreException
|
* @throws CoreException
|
||||||
* @deprecated
|
* @deprecated Use {@link ICDescriptor#getProjectStorageElement(String)}
|
||||||
* @noreference This method is not intended to be referenced by clients.
|
* @noreference This method is not intended to be referenced by clients.
|
||||||
* @use {@link ICDescriptor#getProjectStorageElement(String)}
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public Element getProjectData(String id) throws CoreException;
|
public Element getProjectData(String id) throws CoreException;
|
||||||
|
|
|
@ -188,8 +188,8 @@ public interface ICBuildConfiguration extends IAdaptable, IScannerInfoProvider {
|
||||||
*
|
*
|
||||||
* @param name
|
* @param name
|
||||||
* the name of the property
|
* the name of the property
|
||||||
* @param the
|
* @param value
|
||||||
* new value for the property
|
* the new value for the property
|
||||||
* @since 6.4
|
* @since 6.4
|
||||||
*/
|
*/
|
||||||
default void setProperty(String name, String value) {
|
default void setProperty(String name, String value) {
|
||||||
|
|
|
@ -214,7 +214,7 @@ public interface IToolChain extends IAdaptable {
|
||||||
* info for
|
* info for
|
||||||
* @param buildDirectoryURI
|
* @param buildDirectoryURI
|
||||||
* the build directory that would be used to run commands
|
* the build directory that would be used to run commands
|
||||||
* @returns default scanner info for this language
|
* @return default scanner info for this language
|
||||||
* @since 6.1
|
* @since 6.1
|
||||||
*/
|
*/
|
||||||
default IExtendedScannerInfo getDefaultScannerInfo(IBuildConfiguration buildConfig,
|
default IExtendedScannerInfo getDefaultScannerInfo(IBuildConfiguration buildConfig,
|
||||||
|
|
|
@ -38,7 +38,7 @@ public interface IToolChainManager {
|
||||||
/**
|
/**
|
||||||
* Return the UI label for the toolchain type.
|
* Return the UI label for the toolchain type.
|
||||||
*
|
*
|
||||||
* @param id
|
* @param typeId
|
||||||
* type toolchain type id
|
* type toolchain type id
|
||||||
* @return name of the type
|
* @return name of the type
|
||||||
* @since 6.4
|
* @since 6.4
|
||||||
|
|
|
@ -97,7 +97,6 @@ public class DefaultCodeFormatterConstants {
|
||||||
* - option id: "org.eclipse.cdt.core.formatter.comment_formatter_on_tag"
|
* - option id: "org.eclipse.cdt.core.formatter.comment_formatter_on_tag"
|
||||||
* - default: @formatter:on
|
* - default: @formatter:on
|
||||||
* </pre>
|
* </pre>
|
||||||
* @see CCorePlugin#FORMAT_ON_TAG
|
|
||||||
* @since 6.7
|
* @since 6.7
|
||||||
*/
|
*/
|
||||||
public static final String FORMATTER_COMMENT_ON_TAG = CCorePlugin.PLUGIN_ID + ".formatter.comment_formatter_on_tag"; //$NON-NLS-1$
|
public static final String FORMATTER_COMMENT_ON_TAG = CCorePlugin.PLUGIN_ID + ".formatter.comment_formatter_on_tag"; //$NON-NLS-1$
|
||||||
|
@ -107,7 +106,6 @@ public class DefaultCodeFormatterConstants {
|
||||||
* - option id: "org.eclipse.cdt.core.formatter.comment_formatter_off_tag"
|
* - option id: "org.eclipse.cdt.core.formatter.comment_formatter_off_tag"
|
||||||
* - default: @formatter:off
|
* - default: @formatter:off
|
||||||
* </pre>
|
* </pre>
|
||||||
* @see CCorePlugin#FORMAT_OFF_TAG
|
|
||||||
* @since 6.7
|
* @since 6.7
|
||||||
*/
|
*/
|
||||||
public static final String FORMATTER_COMMENT_OFF_TAG = CCorePlugin.PLUGIN_ID
|
public static final String FORMATTER_COMMENT_OFF_TAG = CCorePlugin.PLUGIN_ID
|
||||||
|
|
|
@ -36,7 +36,6 @@ public interface IPathEntryStore extends ICExtension {
|
||||||
* Setting paths should fire a CONTENT_CHANGED events to the listeners.
|
* Setting paths should fire a CONTENT_CHANGED events to the listeners.
|
||||||
* It is up to the listener to calculate the deltas.
|
* It is up to the listener to calculate the deltas.
|
||||||
*
|
*
|
||||||
* @param project
|
|
||||||
* @param entries
|
* @param entries
|
||||||
* @throws CoreException
|
* @throws CoreException
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.eclipse.cdt.core.CCorePlugin;
|
||||||
import com.ibm.icu.text.DateFormat;
|
import com.ibm.icu.text.DateFormat;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.9. Use 64 bit version {@link Coff64}.
|
* @deprecated Deprecated as of CDT 6.9. Use 64 bit version {@link Coff64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -69,7 +69,7 @@ import org.eclipse.cdt.utils.debug.stabs.StabsReader;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.9. Use 64 bit version {@link PE64}.
|
* @deprecated Deprecated as of CDT 6.9. Use 64 bit version {@link PE64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -21,7 +21,7 @@ import org.eclipse.cdt.utils.AR.ARHeader;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.9. Use 64 bit version {@link CygwinPEBinaryArchive64}.
|
* @deprecated Deprecated as of CDT 6.9. Use 64 bit version {@link CygwinPEBinaryArchive64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -19,7 +19,7 @@ import org.eclipse.cdt.core.IBinaryParser.IBinaryFile;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.9. Use 64 bit version {@link CygwinPEBinaryExecutable64}.
|
* @deprecated Deprecated as of CDT 6.9. Use 64 bit version {@link CygwinPEBinaryExecutable64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -38,11 +38,8 @@ import org.eclipse.cdt.utils.coff.PE;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
import org.eclipse.core.runtime.Path;
|
import org.eclipse.core.runtime.Path;
|
||||||
|
|
||||||
/*
|
|
||||||
* CygwinPEBinaryObject
|
|
||||||
*/
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.9. Use 64 bit version {@link CygwinPEBinaryObject64}.
|
* @deprecated Deprecated as of CDT 6.9. Use 64 bit version {@link CygwinPEBinaryObject64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -19,7 +19,7 @@ import org.eclipse.cdt.core.IBinaryParser.IBinaryShared;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.9. Use 64 bit version {@link CygwinPEBinaryShared64}.
|
* @deprecated Deprecated as of CDT 6.9. Use 64 bit version {@link CygwinPEBinaryShared64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -21,7 +21,7 @@ import org.eclipse.cdt.utils.ICygwinToolsFactroy;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.9. Use 64 bit version {@link CygwinPEParser64}.
|
* @deprecated Deprecated as of CDT 6.9. Use 64 bit version {@link CygwinPEParser64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -27,13 +27,7 @@ import org.eclipse.cdt.utils.Symbol;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author DInglis
|
* @deprecated Deprecated as of CDT 6.9. Use 64 bit version {@link CygwinSymbol64}.
|
||||||
*
|
|
||||||
* To change the template for this generated type comment go to
|
|
||||||
* Window>Preferences>Java>Code Generation>Code and Comments
|
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* @deprecated. Deprecated as of CDT 6.9. Use 64 bit version {@link CygwinSymbol64}.
|
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.eclipse.cdt.utils.BinaryFile;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.9. Use 64 bit version {@link PEBinaryArchive64}.
|
* @deprecated Deprecated as of CDT 6.9. Use 64 bit version {@link PEBinaryArchive64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -19,7 +19,7 @@ import org.eclipse.cdt.core.IBinaryParser.IBinaryFile;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.9. Use 64 bit version {@link PEBinaryExecutable64}.
|
* @deprecated Deprecated as of CDT 6.9. Use 64 bit version {@link PEBinaryExecutable64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -35,7 +35,7 @@ import org.eclipse.cdt.utils.coff.PE;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.9. Use 64 bit version {@link PEBinaryObject64}.
|
* @deprecated Deprecated as of CDT 6.9. Use 64 bit version {@link PEBinaryObject64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
@ -54,9 +54,6 @@ public class PEBinaryObject extends BinaryObjectAdapter {
|
||||||
super(parser, p, type);
|
super(parser, p, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.utils.BinaryObjectAdapter#getName()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
if (header != null) {
|
if (header != null) {
|
||||||
|
@ -65,9 +62,6 @@ public class PEBinaryObject extends BinaryObjectAdapter {
|
||||||
return super.getName();
|
return super.getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser.IBinaryFile#getContents()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public InputStream getContents() throws IOException {
|
public InputStream getContents() throws IOException {
|
||||||
if (getPath() != null && header != null) {
|
if (getPath() != null && header != null) {
|
||||||
|
@ -76,9 +70,6 @@ public class PEBinaryObject extends BinaryObjectAdapter {
|
||||||
return super.getContents();
|
return super.getContents();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser.IBinaryObject#getSymbols()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ISymbol[] getSymbols() {
|
public ISymbol[] getSymbols() {
|
||||||
if (hasChanged() || symbols == null) {
|
if (hasChanged() || symbols == null) {
|
||||||
|
@ -191,9 +182,6 @@ public class PEBinaryObject extends BinaryObjectAdapter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.utils.BinaryObjectAdapter#getAddressFactory()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IAddressFactory getAddressFactory() {
|
public IAddressFactory getAddressFactory() {
|
||||||
if (addressFactory == null) {
|
if (addressFactory == null) {
|
||||||
|
|
|
@ -19,7 +19,7 @@ import org.eclipse.cdt.core.IBinaryParser.IBinaryShared;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.9. Use 64 bit version {@link PEBinaryShared64}.
|
* @deprecated Deprecated as of CDT 6.9. Use 64 bit version {@link PEBinaryShared64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -27,23 +27,17 @@ import org.eclipse.cdt.utils.coff.PEConstants;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.9. Use 64 bit version {@link PEParser64}.
|
* @deprecated Deprecated as of CDT 6.9. Use 64 bit version {@link PEParser64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public class PEParser extends AbstractCExtension implements IBinaryParser {
|
public class PEParser extends AbstractCExtension implements IBinaryParser {
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#getBinary(org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IBinaryFile getBinary(IPath path) throws IOException {
|
public IBinaryFile getBinary(IPath path) throws IOException {
|
||||||
return getBinary(null, path);
|
return getBinary(null, path);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#getBinary(byte[], org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IBinaryFile getBinary(byte[] hints, IPath path) throws IOException {
|
public IBinaryFile getBinary(byte[] hints, IPath path) throws IOException {
|
||||||
if (path == null) {
|
if (path == null) {
|
||||||
|
@ -92,17 +86,11 @@ public class PEParser extends AbstractCExtension implements IBinaryParser {
|
||||||
return binary;
|
return binary;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#getFormat()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getFormat() {
|
public String getFormat() {
|
||||||
return "PE"; //$NON-NLS-1$
|
return "PE"; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#isBinary(byte[], org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isBinary(byte[] array, IPath path) {
|
public boolean isBinary(byte[] array, IPath path) {
|
||||||
boolean isBin = PE.isExeHeader(array) || AR.isARHeader(array);
|
boolean isBin = PE.isExeHeader(array) || AR.isARHeader(array);
|
||||||
|
@ -135,9 +123,6 @@ public class PEParser extends AbstractCExtension implements IBinaryParser {
|
||||||
return isBin;
|
return isBin;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#getHintBufferSize()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getHintBufferSize() {
|
public int getHintBufferSize() {
|
||||||
return 512;
|
return 512;
|
||||||
|
|
|
@ -69,7 +69,7 @@ public interface IDebugEntryRequestor {
|
||||||
/**
|
/**
|
||||||
* Statement in the compilation unit with a given address.
|
* Statement in the compilation unit with a given address.
|
||||||
* @param line lineno of the statement relative to the current compilation unit.
|
* @param line lineno of the statement relative to the current compilation unit.
|
||||||
* @param offset addres of the statement relative to the current function.
|
* @param address address of the statement relative to the current function.
|
||||||
*/
|
*/
|
||||||
void acceptStatement(int line, long address);
|
void acceptStatement(int line, long address);
|
||||||
|
|
||||||
|
@ -80,23 +80,16 @@ public interface IDebugEntryRequestor {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* floating point constant.
|
* floating point constant.
|
||||||
* @param name
|
|
||||||
* @param value
|
|
||||||
*/
|
*/
|
||||||
void acceptFloatConst(String name, double value);
|
void acceptFloatConst(String name, double value);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type constant: "const b = 0", b is a type enum.
|
* Type constant: "const b = 0", b is a type enum.
|
||||||
* @param name
|
|
||||||
* @param type
|
|
||||||
* @param address
|
|
||||||
*/
|
*/
|
||||||
void acceptTypeConst(String name, DebugType type, int value);
|
void acceptTypeConst(String name, DebugType type, int value);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Caught Exception.
|
* Caught Exception.
|
||||||
* @param name
|
|
||||||
* @param value
|
|
||||||
*/
|
*/
|
||||||
void acceptCaughtException(String name, DebugType type, long address);
|
void acceptCaughtException(String name, DebugType type, long address);
|
||||||
|
|
||||||
|
@ -111,10 +104,6 @@ public interface IDebugEntryRequestor {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Record a variable.
|
* Record a variable.
|
||||||
* @param name
|
|
||||||
* @param type
|
|
||||||
* @param kind
|
|
||||||
* @param address
|
|
||||||
*/
|
*/
|
||||||
void acceptVariable(String name, DebugType type, DebugVariableKind kind, long address);
|
void acceptVariable(String name, DebugType type, DebugVariableKind kind, long address);
|
||||||
|
|
||||||
|
|
|
@ -38,9 +38,6 @@ public class ElfBinaryArchive extends BinaryFile implements IBinaryArchive {
|
||||||
children = new ArrayList<>(5);
|
children = new ArrayList<>(5);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser.IBinaryArchive#getObjects()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IBinaryObject[] getObjects() {
|
public IBinaryObject[] getObjects() {
|
||||||
if (hasChanged()) {
|
if (hasChanged()) {
|
||||||
|
@ -71,7 +68,7 @@ public class ElfBinaryArchive extends BinaryFile implements IBinaryArchive {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated use {@link ElfBinaryArchive#createArchiveMembers(ARHeader[])}
|
* @deprecated use {@link #createArchiveMembers(ARHeader[])}
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.eclipse.cdt.utils.debug.stabs.StabsReader;
|
||||||
|
|
||||||
// test checkin
|
// test checkin
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachO64}.
|
* @deprecated Deprecated as of CDT 6.1. Use 64 bit version {@link MachO64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -23,12 +23,12 @@ import org.eclipse.cdt.utils.macho.MachO.Section;
|
||||||
import org.eclipse.cdt.utils.macho.MachO.Symbol;
|
import org.eclipse.cdt.utils.macho.MachO.Symbol;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachOHelper64}.
|
|
||||||
* This class is planned for removal in next major release.
|
|
||||||
* <br>
|
|
||||||
* <code>MachOHelper</code> is a wrapper class for the <code>MachO</code> class
|
* <code>MachOHelper</code> is a wrapper class for the <code>MachO</code> class
|
||||||
* to provide higher level API for sorting/searching the MachO data.
|
* to provide higher level API for sorting/searching the MachO data.
|
||||||
*
|
*
|
||||||
|
* @deprecated Deprecated as of CDT 6.1. Use 64 bit version {@link MachOHelper64}.
|
||||||
|
* This class is planned for removal in next major release.
|
||||||
|
*
|
||||||
* @see MachO
|
* @see MachO
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.eclipse.cdt.utils.macho.AR;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachOBinaryArchive64}.
|
* @deprecated Deprecated as of CDT 6.1. Use 64 bit version {@link MachOBinaryArchive64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -19,7 +19,7 @@ import org.eclipse.cdt.core.IBinaryParser.IBinaryFile;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachOBinaryExecutable64}.
|
* @deprecated Deprecated as of CDT 6.1. Use 64 bit version {@link MachOBinaryExecutable64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -40,7 +40,7 @@ import org.eclipse.core.runtime.IPath;
|
||||||
import org.eclipse.core.runtime.Path;
|
import org.eclipse.core.runtime.Path;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachOBinaryObject64}.
|
* @deprecated Deprecated as of CDT 6.1. Use 64 bit version {@link MachOBinaryObject64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -19,7 +19,7 @@ import org.eclipse.cdt.core.IBinaryParser.IBinaryShared;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachOBinaryShared64}.
|
* @deprecated Deprecated as of CDT 6.1. Use 64 bit version {@link MachOBinaryShared64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -27,15 +27,12 @@ import org.eclipse.core.runtime.IPath;
|
||||||
import org.eclipse.core.runtime.Path;
|
import org.eclipse.core.runtime.Path;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachOParser64}.
|
* @deprecated Deprecated as of CDT 6.1. Use 64 bit version {@link MachOParser64}.
|
||||||
* This class is planned for removal in next major release.
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public class MachOParser extends AbstractCExtension implements IBinaryParser {
|
public class MachOParser extends AbstractCExtension implements IBinaryParser {
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#getBinary(org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IBinaryFile getBinary(IPath path) throws IOException {
|
public IBinaryFile getBinary(IPath path) throws IOException {
|
||||||
return getBinary(null, path);
|
return getBinary(null, path);
|
||||||
|
@ -88,33 +85,21 @@ public class MachOParser extends AbstractCExtension implements IBinaryParser {
|
||||||
return binary;
|
return binary;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#getFormat()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getFormat() {
|
public String getFormat() {
|
||||||
return "MACHO"; //$NON-NLS-1$
|
return "MACHO"; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#isBinary(byte[], org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isBinary(byte[] array, IPath path) {
|
public boolean isBinary(byte[] array, IPath path) {
|
||||||
return MachO.isMachOHeader(array) || AR.isARHeader(array);
|
return MachO.isMachOHeader(array) || AR.isARHeader(array);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#getBufferSize()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getHintBufferSize() {
|
public int getHintBufferSize() {
|
||||||
return 128;
|
return 128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.utils.IGnuToolProvider#getCPPFilt()
|
|
||||||
*/
|
|
||||||
public CPPFilt getCPPFilt() {
|
public CPPFilt getCPPFilt() {
|
||||||
IPath cppFiltPath = getCPPFiltPath();
|
IPath cppFiltPath = getCPPFiltPath();
|
||||||
CPPFilt cppfilt = null;
|
CPPFilt cppfilt = null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue