FileDocCategorySizeDatePackage
JavaProjectMock.javaAPI DocAndroid 1.5 API13298Wed May 06 22:41:10 BST 2009com.android.ide.eclipse.mock

JavaProjectMock

public class JavaProjectMock extends Object implements org.eclipse.jdt.core.IJavaProject

Fields Summary
private org.eclipse.core.resources.IProject
mProject
private org.eclipse.jdt.core.IClasspathEntry[]
mEntries
private org.eclipse.core.runtime.IPath
mOutputLocation
private String
mCompilerCompliance
private String
mCompilerSource
private String
mCompilerTarget
Constructors Summary
public JavaProjectMock(org.eclipse.jdt.core.IClasspathEntry[] entries, org.eclipse.core.runtime.IPath outputLocation)

 //$NON-NLS-1

         
        mEntries = entries;
        mOutputLocation = outputLocation;
    
Methods Summary
public voidclose()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IClasspathEntrydecodeClasspathEntry(java.lang.String encodedEntry)

        throw new NotImplementedException();
    
public java.lang.StringencodeClasspathEntry(org.eclipse.jdt.core.IClasspathEntry classpathEntry)

        throw new NotImplementedException();
    
public booleanexists()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IJavaElementfindElement(org.eclipse.core.runtime.IPath path)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IJavaElementfindElement(org.eclipse.core.runtime.IPath path, org.eclipse.jdt.core.WorkingCopyOwner owner)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IJavaElementfindElement(java.lang.String bindingKey, org.eclipse.jdt.core.WorkingCopyOwner owner)

        throw new NotImplementedException();
	
public org.eclipse.jdt.core.IPackageFragmentfindPackageFragment(org.eclipse.core.runtime.IPath path)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IPackageFragmentRootfindPackageFragmentRoot(org.eclipse.core.runtime.IPath path)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IPackageFragmentRoot[]findPackageFragmentRoots(org.eclipse.jdt.core.IClasspathEntry entry)

        throw new NotImplementedException();
    
public java.lang.StringfindRecommendedLineSeparator()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.ITypefindType(java.lang.String fullyQualifiedName)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.ITypefindType(java.lang.String fullyQualifiedName, org.eclipse.core.runtime.IProgressMonitor progressMonitor)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.ITypefindType(java.lang.String fullyQualifiedName, org.eclipse.jdt.core.WorkingCopyOwner owner)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.ITypefindType(java.lang.String packageName, java.lang.String typeQualifiedName)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.ITypefindType(java.lang.String fullyQualifiedName, org.eclipse.jdt.core.WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor progressMonitor)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.ITypefindType(java.lang.String packageName, java.lang.String typeQualifiedName, org.eclipse.core.runtime.IProgressMonitor progressMonitor)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.ITypefindType(java.lang.String packageName, java.lang.String typeQualifiedName, org.eclipse.jdt.core.WorkingCopyOwner owner)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.ITypefindType(java.lang.String packageName, java.lang.String typeQualifiedName, org.eclipse.jdt.core.WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor progressMonitor)

        throw new NotImplementedException();
    
public java.lang.ObjectgetAdapter(java.lang.Class adapter)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IPackageFragmentRoot[]getAllPackageFragmentRoots()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IJavaElementgetAncestor(int ancestorType)

        throw new NotImplementedException();
    
public java.lang.StringgetAttachedJavadoc(org.eclipse.core.runtime.IProgressMonitor monitor)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IBuffergetBuffer()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IJavaElement[]getChildren()

        throw new NotImplementedException();
    
public org.eclipse.core.resources.IResourcegetCorrespondingResource()

        throw new NotImplementedException();
    
public java.lang.StringgetElementName()

        throw new NotImplementedException();
    
public intgetElementType()

        throw new NotImplementedException();
    
public java.lang.StringgetHandleIdentifier()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IJavaModelgetJavaModel()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IJavaProjectgetJavaProject()

        throw new NotImplementedException();
    
public java.lang.Object[]getNonJavaResources()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IOpenablegetOpenable()

        throw new NotImplementedException();
    
public java.lang.StringgetOption(java.lang.String optionName, boolean inheritJavaCoreOptions)

        if (optionName.equals(JavaCore.COMPILER_COMPLIANCE)) {
            return mCompilerCompliance;
        } else if (optionName.equals(JavaCore.COMPILER_SOURCE)) {
            return mCompilerSource;
        } else if (optionName.equals(JavaCore.COMPILER_CODEGEN_TARGET_PLATFORM)) {
            return mCompilerTarget;
        }
        
        return null;
    
public java.util.MapgetOptions(boolean inheritJavaCoreOptions)

        throw new NotImplementedException();
    
public org.eclipse.core.runtime.IPathgetOutputLocation()

        return mOutputLocation;
    
public org.eclipse.jdt.core.IPackageFragmentRootgetPackageFragmentRoot(java.lang.String jarPath)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IPackageFragmentRootgetPackageFragmentRoot(org.eclipse.core.resources.IResource resource)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IPackageFragmentRoot[]getPackageFragmentRoots()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IPackageFragmentRoot[]getPackageFragmentRoots(org.eclipse.jdt.core.IClasspathEntry entry)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IPackageFragment[]getPackageFragments()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IJavaElementgetParent()

        throw new NotImplementedException();
    
public org.eclipse.core.runtime.IPathgetPath()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IJavaElementgetPrimaryElement()

        throw new NotImplementedException();
    
public org.eclipse.core.resources.IProjectgetProject()

        if (mProject == null) {
            mProject = new ProjectMock();
        }

        return mProject;
    
public org.eclipse.jdt.core.IClasspathEntry[]getRawClasspath()

        return mEntries;
    
public java.lang.String[]getRequiredProjectNames()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IClasspathEntry[]getResolvedClasspath(boolean ignoreUnresolvedEntry)

        throw new NotImplementedException();
    
public org.eclipse.core.resources.IResourcegetResource()

        throw new NotImplementedException();
    
public org.eclipse.core.runtime.jobs.ISchedulingRulegetSchedulingRule()

        throw new NotImplementedException();
    
public org.eclipse.core.resources.IResourcegetUnderlyingResource()

        throw new NotImplementedException();
    
public booleanhasBuildState()

        throw new NotImplementedException();
    
public booleanhasChildren()

        throw new NotImplementedException();
    
public booleanhasClasspathCycle(org.eclipse.jdt.core.IClasspathEntry[] entries)

        throw new NotImplementedException();
    
public booleanhasUnsavedChanges()

        throw new NotImplementedException();
    
public booleanisConsistent()

        throw new NotImplementedException();
    
public booleanisOnClasspath(org.eclipse.jdt.core.IJavaElement element)

        throw new NotImplementedException();
    
public booleanisOnClasspath(org.eclipse.core.resources.IResource resource)

        throw new NotImplementedException();
    
public booleanisOpen()

        throw new NotImplementedException();
    
public booleanisReadOnly()

        throw new NotImplementedException();
    
public booleanisStructureKnown()

        throw new NotImplementedException();
    
public voidmakeConsistent(org.eclipse.core.runtime.IProgressMonitor progress)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.eval.IEvaluationContextnewEvaluationContext()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.ITypeHierarchynewTypeHierarchy(org.eclipse.jdt.core.IRegion region, org.eclipse.core.runtime.IProgressMonitor monitor)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.ITypeHierarchynewTypeHierarchy(org.eclipse.jdt.core.IRegion region, org.eclipse.jdt.core.WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.ITypeHierarchynewTypeHierarchy(org.eclipse.jdt.core.IType type, org.eclipse.jdt.core.IRegion region, org.eclipse.core.runtime.IProgressMonitor monitor)

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.ITypeHierarchynewTypeHierarchy(org.eclipse.jdt.core.IType type, org.eclipse.jdt.core.IRegion region, org.eclipse.jdt.core.WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor)

        throw new NotImplementedException();
    
public voidopen(org.eclipse.core.runtime.IProgressMonitor progress)

        throw new NotImplementedException();
    
public org.eclipse.core.runtime.IPathreadOutputLocation()

        throw new NotImplementedException();
    
public org.eclipse.jdt.core.IClasspathEntry[]readRawClasspath()

        throw new NotImplementedException();
    
public voidsave(org.eclipse.core.runtime.IProgressMonitor progress, boolean force)

        throw new NotImplementedException();
    
public voidsetOption(java.lang.String optionName, java.lang.String optionValue)

        if (optionName.equals(JavaCore.COMPILER_COMPLIANCE)) {
            mCompilerCompliance = optionValue;
        } else if (optionName.equals(JavaCore.COMPILER_SOURCE)) {
            mCompilerSource = optionValue;
        } else if (optionName.equals(JavaCore.COMPILER_CODEGEN_TARGET_PLATFORM)) {
            mCompilerTarget = optionValue;
        } else {
            throw new NotImplementedException();
        }
    
public voidsetOptions(java.util.Map newOptions)

        throw new NotImplementedException();
    
public voidsetOutputLocation(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IProgressMonitor monitor)

        throw new NotImplementedException();
    
public voidsetRawClasspath(org.eclipse.jdt.core.IClasspathEntry[] entries, org.eclipse.core.runtime.IProgressMonitor monitor)

        mEntries = entries;
    
public voidsetRawClasspath(org.eclipse.jdt.core.IClasspathEntry[] entries, org.eclipse.core.runtime.IPath outputLocation, org.eclipse.core.runtime.IProgressMonitor monitor)

        mEntries = entries;
        mOutputLocation = outputLocation;
    
public voidsetRawClasspath(org.eclipse.jdt.core.IClasspathEntry[] entries, boolean canModifyResources, org.eclipse.core.runtime.IProgressMonitor monitor)

        throw new NotImplementedException();
    
public voidsetRawClasspath(org.eclipse.jdt.core.IClasspathEntry[] entries, org.eclipse.core.runtime.IPath outputLocation, boolean canModifyResources, org.eclipse.core.runtime.IProgressMonitor monitor)

        throw new NotImplementedException();