Genymobile / Genymobile/mirror

Allow to set an annotation on an Object param to automatically wrap it

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
351
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Something like

```
@Class("pkg.SomeClass")
public interface {
// original method : String computeThing(int, String, InternalHidden)
String computeThing(int uid, String name, @Class("pkg.InternalHidden") Object template);
}
```

Contributor guide

Open the contributing guide

Research direction

Begin with the Java and Android reflection behavior represented by the proposed computeThing signature. Determine how an annotation on an Object parameter should identify the wrapped class, and define tests showing that the example automatically wraps the template while preserving the original method contract.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.