Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
frascati
frascati
Commits
156c2933
Commit
156c2933
authored
Mar 15, 2017
by
Lionel Seinturier
Browse files
Remove uneeded membraneDesc parameter for fcinterface implementation class generators.
parent
5fd32bfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
tinfi/extension/osgi/opt/oo/src/main/java/org/ow2/frascati/tinfi/osgi/FCOOCtrlSourceCodeGenerator.java
View file @
156c2933
...
...
@@ -24,14 +24,11 @@
package
org.ow2.frascati.tinfi.osgi
;
import
java.io.IOException
;
import
java.util.List
;
import
org.objectweb.fractal.api.Type
;
import
org.objectweb.fractal.api.type.InterfaceType
;
import
org.objectweb.fractal.juliac.Juliac
;
import
org.objectweb.fractal.juliac.desc.ControllerDesc
;
import
org.objectweb.fractal.juliac.desc.MembraneDesc
;
import
org.objectweb.fractal.juliac.opt.InitializerClassGenerator
;
import
org.objectweb.fractal.juliac.api.SourceCodeGeneratorItf
;
import
org.objectweb.fractal.juliac.osgi.FCOOCtrlGenerator
;
import
org.objectweb.fractal.juliac.proxy.ProxyClassGeneratorItf
;
...
...
@@ -94,7 +91,7 @@ extends org.ow2.frascati.tinfi.opt.oo.FCOOCtrlSourceCodeGenerator {
* @return the initializer class generator for this component
*/
@Override
public
InitializerClassGenerator
<
List
<
ControllerDesc
>>
generate
(
public
SourceCodeGeneratorItf
generate
(
Type
type
,
Object
controllerDesc
,
Object
contentDesc
)
throws
IOException
{
...
...
@@ -103,7 +100,7 @@ extends org.ow2.frascati.tinfi.opt.oo.FCOOCtrlSourceCodeGenerator {
*/
osgig
.
check
(
type
,
controllerDesc
,
contentDesc
);
InitializerClassGenerator
<
List
<
ControllerDesc
>>
scg
=
SourceCodeGeneratorItf
scg
=
super
.
generate
(
type
,
controllerDesc
,
contentDesc
);
return
scg
;
...
...
@@ -113,11 +110,10 @@ extends org.ow2.frascati.tinfi.opt.oo.FCOOCtrlSourceCodeGenerator {
* Return the source code generator for component interfaces.
*/
@Override
public
ProxyClassGeneratorItf
getInterfaceClassGenerator
(
InterfaceType
it
,
MembraneDesc
<
List
<
ControllerDesc
>>
membraneDesc
)
{
public
ProxyClassGeneratorItf
getInterfaceClassGenerator
(
InterfaceType
it
)
{
ProxyClassGeneratorItf
pcg
=
osgig
.
getInterfaceClassGenerator
(
it
,
membraneDesc
);
osgig
.
getInterfaceClassGenerator
(
it
);
return
pcg
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment