[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] hide or encrypt aspectj annotations (in LTW)

Hi,

I want to know if there is a way to encrypt aspectj annotations(in
load time weaving).

for example get the value of the annotation and encrypt it then  decrypt the

encrypted value at runtime.

the purpose is to hide the annotation when my annotated class is
decompiled  in order to

don't know what kind of classes are used in this annotation.

I'm thinking about encryption of the annotation value using encryption
algorithm e.g :RSA but i don't know if there is a way to decrypt this
value at runtime.

I think that we can use java obfuscator (like proguard) in case we
need to keep  the

annotations but we can't both keep and hide annotaions value.

I know that this  question is not aspectj specific but  needs runtime
access to annotations.

any idea ?

how aspectj use annotations at runtime ?

thanks in advance ;