[Better Comment Initiative]: FAMIXClass

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Better Comment Initiative]: FAMIXClass

Stéphane Ducasse
proposition:



FAMIXClass represents an entity which can build new instances. A FAMIXClass is a FAMIXType, therefore it belongs to a super/sub lattice (depending on the language) and it holds attributes, methods, structures.

FAMIX does not model explicitly interfaces and nested classes.

But a FAMIXClass can represent a Java interface (see isInterface query method).
Java extractors can nest classes into classes and classes in namespaces.

For anonymous classes, classes are simply defined in methods.
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Better Comment Initiative]: FAMIXClass

Tudor Girba-2
Hi,

I went over it and now we have:

"FAMIXClass represents an entity which can build new instances. A FAMIXClass is a FAMIXType, therefore it is involved in super/sub types relationships (depending on the language) and it holds attributes, methods.

FAMIX does not model explicitly interfaces, but a FAMIXClass can represent a Java interface by setting the isInterface property.

A class is typically contained in a namespace. To model nested or anonymous classes, Java extractors can set the container of classes to classes or methods, respectively."

Doru



On 30 Oct 2011, at 23:53, Stéphane Ducasse wrote:

> proposition:
>
>
>
> FAMIXClass represents an entity which can build new instances. A FAMIXClass is a FAMIXType, therefore it belongs to a super/sub lattice (depending on the language) and it holds attributes, methods, structures.
>
> FAMIX does not model explicitly interfaces and nested classes.
>
> But a FAMIXClass can represent a Java interface (see isInterface query method).
> Java extractors can nest classes into classes and classes in namespaces.
>
> For anonymous classes, classes are simply defined in methods.
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Don't give to get. Just give."






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev