Skip to content

Commit b47c8d8

Browse files
alfinksweisgerber-dev
authored andcommitted
Added annotation for merge whitelisting (#3)
1 parent cec578a commit b47c8d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/saarland/cispa/artist/codelib/CodeLib.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
public class CodeLib {
2727

28+
@interface Inject {}
29+
2830
// Instance variable for singleton usage ///////////////////////////////////////////////////////
2931
public static CodeLib INSTANCE = new CodeLib();
3032

@@ -76,6 +78,7 @@ private String getCallingMethodName() {
7678
/**
7779
* Tracelog method, prints the method name of the calling method.
7880
*/
81+
@Inject
7982
public void traceLog() {
8083
final String callingMethodName = getCallingMethodName();
8184
Log.d(TAG, "Caller -> " + callingMethodName);

0 commit comments

Comments
 (0)