Bug 400669 - Unimplemented methods are not added when Types are missing in the classpath
Summary: Unimplemented methods are not added when Types are missing in the classpath
Status: NEW
Alias: None
Product: Xtend
Classification: Tools
Component: Backlog (show other bugs)
Version: 2.4.0   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-13 06:02 EST by Dennis Huebner CLA
Modified: 2013-09-12 17:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Huebner CLA 2013-02-13 06:02:10 EST
Example Xtend class:

class Test361780 extends AbstractTypeProvider {
	def dispatch type(XBinaryOperation bo, JvmTypeReference r, boolean b) {
		throw new RuntimeException("This is expected")
	}
}


The proposed quick-fix adds all the methods to implement but:

ITypeProvider.getTypeArgumentContext(XAbstractFeatureCall, List<XExpression>, Provider<JvmTypeReference>, JvmIdentifiableElement)

This is because com.google.inject.Provider is missing on the classpath.

MANIFST.MF:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: test-376037
Bundle-SymbolicName: test-376037
Bundle-Version: 1.0.0.qualifier
Export-Package: .
Require-Bundle: org.eclipse.emf.ecore,
 org.junit;bundle-version="4.10.0",
 org.eclipse.xtext.xbase;bundle-version="2.4.0"