[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
] [
List Home
]
[aspectj-users] declare question
From
: "Renato Rodrigues" <
renatolmsrodrigues@xxxxxxxxx
>
Date
: Thu, 13 Dec 2007 19:29:52 +0000
Delivered-to
: aspectj-users@eclipse.org
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=W5oQbiGRDrl/sNZtnRlg6yf4ZFCGSOI+2kaHnQ8AWv4=; b=t1BTWHkikmIz2oqwkOOeC75Cg4P7bivVZgFA4L9RJ9LKvQTA/YnPs5RJR+40Sc5WQWck6WR3JpJYN1efQE89I1fAptLkGwcJz/XdlgLbrsFruEAOlQ0UNNQays/eMdFEt87CDOuHM2FYqVgU+701O/UOXHX16es95dEful30PxM=
Domainkey-signature
: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=aYvEVbmhqD+ftVoptWASf8Hkl1LHs7j7tGrrYCgQ4BMt8NzL9UJlp+Ty1SdlXFeWsEqlvM6lUWSla/BJz6klfHi81tprKWBaxDHGfwei0lGcDbettqqsl1QBhA1Pmxx2Fw/JA8QXdYCfUi58YVRxTYC4weq9snTUkvJw6vRBudA=
Im a newbie to AspectJ and i'm trying to do a simple declare parents _expression_ so a Class can implement an interface
i have class:
public class Client {
Client(){};
public int num1(){
return 1;
}
public void aux()
{
Ola o = new Client();
}
}
and aspect :
public aspect example{
declare parents: Client implements Ola;
}
and the compiler says Type mismatch: cannot convert from Client to Ola
Follow-Ups
:
Re: [aspectj-users] declare question
From:
Andy Clement
Re: [aspectj-users] declare question
From:
Bhaskar Maddala
Prev by Date:
Re: [aspectj-users] AJDT1.5.1rc1 for Eclipse 3.3 (containing AspectJ1.5.4rc1) is available
Next by Date:
Re: [aspectj-users] declare question
Previous by thread:
[aspectj-users] AJDT1.5.1rc1 for Eclipse 3.3 (containing AspectJ1.5.4rc1) is available
Next by thread:
Re: [aspectj-users] declare question
Index(es):
Date
Thread