1515 * See the License for the specific language governing permissions and
1616 * limitations under the License.
1717 *
18- * @author "Parthipan Ramesh <parthipan.ramesh@cispa.saarland>"
19- * @author "Oliver Schranz <oliver.schranz@cispa.saarland>"
20- *
2118 */
2219
23- #ifndef ART_MODULES_CODELIB_H_
24- #define ART_MODULES_CODELIB_H_
20+ #ifndef ART_MODULES_TEMPLATE_TEMPLATE_CODELIB_H_
21+ #define ART_MODULES_TEMPLATE_TEMPLATE_CODELIB_H_
22+
2523
2624#include < string>
2725#include < unordered_set>
@@ -33,28 +31,31 @@ using std::unordered_set;
3331using art::CodeLib;
3432
3533class TemplateCodeLib : public CodeLib {
36- public:
37- static const string INJECTION_ARTIST_TARGET;
38- static const string BASIC_ARTIST_TARGET;
39-
40-
41- TemplateCodeLib () = default ;
42-
43- TemplateCodeLib (const TemplateCodeLib &other) = default ;
44-
45- TemplateCodeLib (TemplateCodeLib &&other) = default ;
46-
47- ~TemplateCodeLib () override = default ;
48-
49- TemplateCodeLib &operator =(const TemplateCodeLib &) = default ;
50-
51- TemplateCodeLib &operator =(TemplateCodeLib &&) = default ;
52-
53- unordered_set<string> &getMethods () const override ;
54-
55- string &getInstanceField () const override ;
56-
57- string &getCodeClass () const override ;
34+ public:
35+ // METHODS //////////////////////////////////
36+ static const string _M_SAARLAND_CISPA_ARTIST_CODELIB_CODELIB__BASICARTISTTARGET__IL__V;
37+ static const string _M_SAARLAND_CISPA_ARTIST_CODELIB_CODELIB__INJECTIONARTISTTARGET__I__V;
38+ // FIELDS ///////////////////////////////////
39+ static const string _F_CODECLASS_INSTANCE;
40+ // CLASSES //////////////////////////////////
41+ static const string _C_JAVA_LANG_STRING;
42+ static const string _C_JAVA_LANG_OBJECT;
43+ static const string _C_CODECLASS;
44+
45+ public:
46+ TemplateCodeLib () = default ;
47+ TemplateCodeLib (const TemplateCodeLib& other) = default ;
48+ TemplateCodeLib (TemplateCodeLib&& other) = default ;
49+
50+ ~TemplateCodeLib () override = default ;
51+
52+ TemplateCodeLib& operator =(const TemplateCodeLib&) = default ;
53+ TemplateCodeLib& operator =(TemplateCodeLib&&) = default ;
54+
55+ unordered_set<string>& getMethods () const override ;
56+ string& getInstanceField () const override ;
57+ string& getCodeClass () const override ;
5858}; // class TemplateCodeLib
5959
60- #endif // ART_MODULES_CODELIB_H_
60+
61+ #endif // ART_MODULES_TEMPLATE_TEMPLATE_CODELIB_H_
0 commit comments