Hi I have a file called populator
public <T extends DataStructure> void populateFromComposition(T dataStructure, Composition input) {
But then I have a file called,
a84 which has package a084
and antoher file called a115 with package a115
And I want to use this populator in both the files, but I need to somehow passdown the package so it can be dynamic
DataStructure dataStructure115 = new DataStructure();
ppsMetaPopulator.populateFromComposition(dataStructure115 ,input)
In a115 file
DataStructure dataStructure84 = new DataStructure();
ppsMetaPopulator.populateFromComposition(dataStructure84 ,input);
in a84 file
is this possible somehow? Because this doesnt work,
this <T extends DataStructure> DataStructre are red and need a package it says.